|
|
|
|
|
by BrutallyHonest
3666 days ago
|
|
That's the biggest problem with adoption of academic-style (Haskell, OCaml etc.) functional programming languages. The proponents believe that 'shorter = more readable'. And if they would try to make it more readable it would start looking like Scala and C# (hence their popularity). |
|
Keeping names informative is a good thing. Keeping names small enough that you don't have to scan across half a page when they are used is a good thing. Keeping thunk definition separate from control structures where it is used, when it's more than a line or two is generally a good thing. Finding the sweet spot when these and many other rules conflict is where experience comes in, and is part of the art of programming.