My Lemny
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years ago

Factory factory factory

factoryfactoryfactory.net

external-link
message-square
8
link
fedilink
1
external-link

Factory factory factory

factoryfactoryfactory.net

☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
8
link
fedilink
Explaining what's wrong with modern software development by allegory.
alert-triangle
You must log in or register to comment.
  • _pi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years 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.

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

      Bingo. We didn’t invent complicated systems for shits and giggles. Reuse is king, and abstracted code is reusable code.

    • Riskable@programming.dev
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years 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
    ·
    2 years 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.

  • adr1an@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    from hammers import sledgehammer and that’s why I love Python :)

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

  • BaumGeist@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    here’s the Programmer Readable version of that wall of text: https://github.com/EnterpriseQualityCoding/FizzBuzzEnterpriseEdition

    • propter_hog [any, any]@hexbear.net
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 years 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.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2 users / day
  • 2 users / week
  • 4 users / month
  • 480 users / 6 months
  • 0 local subscribers
  • 43.5K subscribers
  • 2.05K Posts
  • 34.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.mldeleted by creator
  • cat_programmer@lemmy.ml
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org