I think it may be a culture coming from the closeness to theoretical computer science, who in turn inherited it from mathematics.
My guess is that code written early in the history of software suffered the same problem, when the field was more tightly linked to the university. Then a cultural shift happened, likely due to computers getting more ram, where we as an industry started to have longer and more descriptive naming.
I am also going to guess that precisely because the more academic functional programming languages such as lisp or ML didn't get adopted by the industry in as big a scale as the imperative ones, they never picked up this new trend; instead staying with the older convention of short variable names.
12
u/kindofdynamite May 25 '17
As a newcomer to FP, one of the biggest hurdles has been trying to decipher one letter variables, imports without a namespace and general terse code.
It seems to me that there is less of a focus on code readability ("plain english") in FP languages.
Why is terse code so common in Clojure/Haskell/et all? Is there something I'm missing that will cause me to "see the light"?