• squaresinger@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    13 hours ago

    I could maybe have been clearer when saying “significant capacity”.

    Most projects I worked in did use OOP in some capacity, but only in quite small amounts.

    My point mainly was that a lot of people think that using the keyword “class” for structs (aka data classes) or modules (aka service/controller classes) counts as OOP and that’s not the case.

    But I agree that Java and similar languages could use some other type of syntactic sugar for modules. But then again, it would literally just be another name for the same thing.