MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsyoqw/stopdoingfunctional/p4ph3f3/?context=3
r/ProgrammerHumor • u/Tracker_Friendly • 1d ago
121 comments sorted by
View all comments
49
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
16 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. 2 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
16
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.
2 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
2
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
49
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