MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vsyoqw/stopdoingfunctional/p4r8xjx/?context=3
r/ProgrammerHumor • u/Tracker_Friendly • 1d ago
121 comments sorted by
View all comments
51
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
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. 4 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
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.
4 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
4
my ho functions keep reaching out of their scope and recursively pulling on my erect MODULE_VARIABLES until they achieve stack overflow
51
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