• Bane_Killgrind@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      It’s a cover with their own lyrics about the complexities of programming, instead of the complexities of picking someone up at a club

  • bleistift2@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    Boy, I recently had to look into the Java backend to figure out… something. I can’t remember.

    It turns out that they needed to inject a bean into their class which was itself calling a factory, which according to documentation, instantiated three other classes just to make a fucking HTTP request! What’s worse, that clusterfuck of a (fairly standard) library required the base URL to be declared separately from the actual paths, and both the base URL needed to end with a slash, and each path must begin with one. Every reasonable programmer would assume that this is a mistake because the final path would end up with two slashes, but the library actually required that.

    Meanwhile, frontend: fetch('url').then(r => r.json()).then(beHappy)

    • aaaaaaaaargh@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      5 days ago

      But you always get something in return for all those layers and layers of abstraction. For me most of the time it was a lot of Java/Spring features I didn’t know existed and after that I realized they were pointless.

      • DeprecatedCompatV2@programming.dev
        link
        fedilink
        arrow-up
        0
        ·
        5 days ago

        Noooo, you have to override 50% of the class methods to hard couple your filter’s implementation to an event-bus-style bean with Spring in the package name to avoid NIH! What if someone needs to extend your Authentication Provider in the future but can only use a limited quota of keystrokes to implement their ticket as an inobvious side-effect? How else will they add the aud from your JWT to the MDC? Some kind of pointcut??