• PeriodicallyPedantic@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    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.