• FishFace@piefed.social
    link
    fedilink
    English
    arrow-up
    4
    ·
    21 hours ago

    Agreed. And a lot of it is working around limitations of whatever version of Java was common at the time.

    “Visitor pattern” is better implemented as an implementation of Iterator or whatever your language calls that. Everyone knows what “for x in thing” means, but wtf does it mean to “visit” something?