• Luccus@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      2 days ago

      Nono, it’s:

      “I need to format stings with values from a dictonary. What should I do?”

      “Use Django. It has a templating engine.”

      ^This is based on a actual exchange I saw on XDA^

  • _pi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 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
      ·
      3 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 🎩 👌

  • tetris11@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    3 days 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.