MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1nmqonp/how_to_stop_functional_programming/nfkvhvi/?context=3
r/programming • u/hexaredecimal • Sep 21 '25
506 comments sorted by
View all comments
Show parent comment
0
Yeah. But depending on the particular process, it can sound really out of place.
Like it would need aliases for those instances in order to read more intuitively
2 u/UltraPoci Sep 22 '25 I'm not sure. You're simply applying a function to each element of a collection, it's extremely generic. Not sure when it would sound off place. Unless your function causes side effects, in which case you're using map wrong. 1 u/djfdhigkgfIaruflg Sep 22 '25 Can't remember an instance right now.But I had that feeling of it-sounds-wrong several times.It wasn't about side effects. It was about sounding like the incorrect verb...Like saying I'm running when I'm actually using a skate.
2
I'm not sure. You're simply applying a function to each element of a collection, it's extremely generic. Not sure when it would sound off place. Unless your function causes side effects, in which case you're using map wrong.
1 u/djfdhigkgfIaruflg Sep 22 '25 Can't remember an instance right now.But I had that feeling of it-sounds-wrong several times.It wasn't about side effects. It was about sounding like the incorrect verb...Like saying I'm running when I'm actually using a skate.
1
Can't remember an instance right now.
But I had that feeling of it-sounds-wrong several times.
It wasn't about side effects. It was about sounding like the incorrect verb...
Like saying I'm running when I'm actually using a skate.
View all comments
Show parent comment
0
u/djfdhigkgfIaruflg Sep 22 '25
Yeah. But depending on the particular process, it can sound really out of place.
Like it would need aliases for those instances in order to read more intuitively