• steventhedev@lemmy.world
      link
      fedilink
      arrow-up
      42
      arrow-down
      3
      ·
      7 months ago

      Whoosh

      Seriously though, spring configurations are written in XML and you create variables, call functions, and have control flow. Effectively turning XML into a horrible twisted shadow of a programming language.

      All in the name of “configurability” through dependency injection.

      • lars@programming.dev
        link
        fedilink
        arrow-up
        9
        ·
        7 months ago

        Spring moved away from XML ages ago. I work on a 6 year old Spring project and it has never had a single line of XML in it.

        • MajorHavoc@programming.dev
          link
          fedilink
          arrow-up
          5
          arrow-down
          1
          ·
          7 months ago

          I’m fond of saying that all great code earns it’s right to become good code by starting as trash…

          But I still think we should all quietly and politely let Spring die a simple dignified death, as soon as possible.

          Out of wildly morbid curiosity, do Maven and Ant still shit all over each other to make sure no one has any real idea what the build inputs and outputs are?

          I shouldn’t ask things I don’t really want to know, though. My inbox is gonna be full of Java apologists.

          • lars@programming.dev
            link
            fedilink
            arrow-up
            3
            ·
            edit-2
            7 months ago

            No idea, I’ve never used either of those tools.

            I think some people still use Maven, but I use Gradle in all of mine. Gradle build files are written in Kotlin instead of XML like Maven.

            • MajorHavoc@programming.dev
              link
              fedilink
              arrow-up
              1
              ·
              7 months ago

              No idea, I’ve never used either of those tools.

              That’s a relief to hear. They were quite bad. Or rather, the way most teams used them was quite bad.

              I’ve heard nice things about Gradle. Of course that was mainly from people with deep psychological scars after working with Ant and Maven…

      • AMDIsOurLord
        link
        fedilink
        arrow-up
        5
        ·
        7 months ago

        So if you take XML, pervert it beyond recognition, cut off it’s balls and one hand, then it’s somehow it’s fault that it sucks?

        • steventhedev@lemmy.world
          link
          fedilink
          arrow-up
          4
          arrow-down
          1
          ·
          7 months ago

          They started from XML. There’s nowhere to go but up but spring managed to fuck even that up.

          FactoryStrategyFactoryFactoryObserverInterface

          Friends don’t let friends use Java 😜

    • frezik@midwest.social
      link
      fedilink
      arrow-up
      11
      ·
      7 months ago

      It was a markup language until someone decided to parse and execute it as a programming language. This person should be watched for other deranged behavior.