• Luccus@feddit.org
      link
      fedilink
      arrow-up
      0
      ·
      8 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^

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

  • _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 🎩 👌

    • propter_hog [any, any]@hexbear.net
      link
      fedilink
      English
      arrow-up
      0
      ·
      7 days ago

      I didn’t see the full URL when I clicked it and was thinking of commenting “there’s also enterprise java fizzbuzz”. Get out of my head.