• _pi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    9 hours 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 hours ago

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

  • tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    10 hours ago

    If nails were standardised then yeah all this would be overkill. But new nails and heck, wood types are coming out all the time, and you definitely can’t build a spice rack with the wrong tools.