• azertyfun@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      Anyone who praises FP is either a student, works primarily in academia, or otherwise never had to look at a deep stack trace in their life.

      Every time a production system spits out a backtrace that’s just 15 event loop calls into a random callback, I lose 6 months life expectancy. Then I go look at the source, and the “go to definition” of my LSP never works because WHY WOULD IT, IT’S ALL FUNCTIONAL hapi.register CALLS

      I hate it I hate it I hate it I hate it. I support UBI because the people pushing functional programming in real production systems should be reassigned to gardening duties.

      • Miaou@jlai.lu
        link
        fedilink
        arrow-up
        1
        ·
        6 months ago

        I have the same problem with oop. 10 levels of encapsulated calls just to see you were in an overridden methods without enough data to find out which implementation it was. Ugh