• MHanak@lemmy.world
    link
    fedilink
    arrow-up
    14
    ·
    2 months 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
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      2 months 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
        ·
        2 months ago

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

        • abbadon420
          link
          fedilink
          arrow-up
          3
          ·
          2 months ago

          No, of course not. The complaint is having to work with outdated materials.