• _pi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 days ago

    Factory factory…n is literally just creating an OOP closure for when your language doesn’t support first class functions, closures and/or currying.

    • Riskable@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 days ago

      Sounds sooooo second class to me. I only deal with first class languages so I can enjoy my curry with a satisfying closure 🎩 👌