• anyhow2503@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    9 days ago

    That’s good advice but I would add that Java really sucks at using “the type system to enforce invariants for data” and that this approach doesn’t have much to do with what most (especially Java programmers) would consider OOP. I die inside a little bit every time I need to use code generators or runtime reflection to solve a problem that really should not require it.