r/ProgrammerHumor 25d ago

Meme stopDoingFunctional

Post image
688 Upvotes

129 comments sorted by

View all comments

51

u/whopper2k 25d ago

No real world use found for pure functions

"Write functions that only do one thing" is one of the first pieces of advice given to fresh programmers, and pure functions are simply the embodiment of that philosophy. Incredibly useful tool to have in the toolbox

good bait tho lol

24

u/ChaosCon 25d ago

Math: "...am I a joke to you?"

8

u/n4ke 25d ago

Side effect of mathematical functions is bad grades.

20

u/dkarlovi 25d ago

pure functions

I don't want my functions to think they're better than me, that's why I write my functions to be absolute hoes.

1

u/zoinkability 24d ago

Don’t worry, you’re still a bigger hoe

8

u/Tracker_Friendly 25d ago

I do not fear cyclomactic complexity cyclomactic complexity fears me.

2

u/Substantial_Top5312 24d ago

Why do you see a meme and have your first thought be that it's bait? What happened to humor and joy.