• MHanak@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    1 month ago

    Isn’t java generally backwards compatible? I switch java versions willy nilly in my (small) projects and never really noticed any problems when upgrading the version

    • abbadon420@lemm.ee
      link
      fedilink
      arrow-up
      14
      ·
      1 month ago

      Yes sure, but not forwards compatible. That means if you need to fix a bug or add a feature in a project that is build on java 8, you cannot use language features from later versions. They are pretty important features at that, like a workable Http client, modules, container compatibility, records and enhanced switch statements. It is not fun to work like that, it’s what makes good programmers want to become chicken farmers.

      • dandi8@fedia.io
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        Are you complaining that older versions of Java don’t have the features of newer versions of Java…?