this post was submitted on 26 Jul 2023
838 points (97.6% liked)

Programmer Humor

32453 readers
654 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago (1 children)

The Java hate is not about wanting to type fewer characters; it's about FactoryFactory-type boilerplate nonsense adding conceptual bloat that obscures what the unit of code is actually trying to accomplish.

[โ€“] [email protected] 0 points 1 year ago

FactoryFactory classes are not something inherent to java, it's just as likely with any OOP language. I'm assuming you refer to something like AbstractFactory Pattern.

Most boilerplate can be automatically added by IDEs, and doesn't add any more congnative overhead than comments would. It's basically comments that are statically validated by the compiler.