I have a project in Go which is pretty heavily functional. Over time, I've begun to notice the general goodness of his 2 rules. If you didn't RTFA, they were
1. Avoid nontrivial anonymous functions.
2. Function declarations after the code that actually does things.
I wonder if his advice is good for all functional-style code in non-functional languages.
1. Avoid nontrivial anonymous functions.
2. Function declarations after the code that actually does things.
I wonder if his advice is good for all functional-style code in non-functional languages.