|
|
|
|
|
by BeetleB
439 days ago
|
|
> You get: the knowledge that your function's output will only depend on its input. > You pay: you gotta stop using those for-loops and [i]ndexes, and start using maps, folds, filters etc. You're my type of guy. And literally none of my coworkers in the last 10 years were your type of guy. When they read this, they don't look at it in awe, but in horror. For them, functions should be allowed to have side effects, and for loops is a basic thing they don't see good reason to abandon. |
|