this post was submitted on 26 Jul 2023
529 points (97.1% liked)

Programmer Humor

32570 readers
124 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] 1 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] -1 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.