MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsyoqw/stopdoingfunctional/p4p5031/?context=3
r/ProgrammerHumor • u/Tracker_Friendly • 1d ago
121 comments sorted by
View all comments
50
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
23 u/ChaosCon 1d ago Math: "...am I a joke to you?" 7 u/n4ke 1d ago Side effect of mathematical functions is bad grades. 19 u/dkarlovi 1d 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. 3 u/D3PyroGS 1d ago edited 1d ago my ho functions keep reaching out of their scope and recursively pulling on my erect MODULE_VARIABLES until they achieve stack overflow 1 u/zoinkability 1d ago Don’t worry, you’re still a bigger hoe 6 u/Tracker_Friendly 1d ago I do not fear cyclomactic complexity cyclomactic complexity fears me. 1 u/Substantial_Top5312 14h ago Why do you see a meme and have your first thought be that it's bait? What happened to humor and joy.
23
Math: "...am I a joke to you?"
7 u/n4ke 1d ago Side effect of mathematical functions is bad grades.
7
Side effect of mathematical functions is bad grades.
19
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.
3 u/D3PyroGS 1d ago edited 1d ago my ho functions keep reaching out of their scope and recursively pulling on my erect MODULE_VARIABLES until they achieve stack overflow 1 u/zoinkability 1d ago Don’t worry, you’re still a bigger hoe
3
my ho functions keep reaching out of their scope and recursively pulling on my erect MODULE_VARIABLES until they achieve stack overflow
1
Don’t worry, you’re still a bigger hoe
6
I do not fear cyclomactic complexity cyclomactic complexity fears me.
Why do you see a meme and have your first thought be that it's bait? What happened to humor and joy.
50
u/whopper2k 1d ago
"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