this post was submitted on 30 May 2024
394 points (94.6% liked)

Programmer Humor

32490 readers
512 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 46 points 5 months ago (6 children)

Why Isn’t Functional Programming the Norm? – Richard Feldman

  • objects and methods are just structs and procedures
  • encapsulation is just modular programming
[–] [email protected] -5 points 5 months ago (5 children)

Anyone who praises FP is either a student, works primarily in academia, or otherwise never had to look at a deep stack trace in their life.

Every time a production system spits out a backtrace that's just 15 event loop calls into a random callback, I lose 6 months life expectancy. Then I go look at the source, and the "go to definition" of my LSP never works because WHY WOULD IT, IT'S ALL FUNCTIONAL hapi.register CALLS

I hate it I hate it I hate it I hate it. I support UBI because the people pushing functional programming in real production systems should be reassigned to gardening duties.

[–] [email protected] 2 points 5 months ago

I'm not advocating one way or the other, but I would gladly take on the gardening duties :D

load more comments (4 replies)
load more comments (4 replies)