5 ms·
I suspect the ideal behind that is the "variables with small scope should have shorter names" concept. So in a one-liner it's ok to abbreviate. I don't necessa
by giraffe_lady 5y ago
I suspect the ideal behind that is the "variables with small scope should have shorter names" concept. So in a one-liner it's ok to abbreviate.
I don't necessarily agree with this especially for examples. But in practice I haven't found the fp communities I'm familiar with (clojure and ocaml) to be too bad about using confusingly terse names. Php and go are by far the worst there, again at least from my experience.
- brucie 5y agoIsn’t it a kind of proof that a function is generic? I can map over some xs with an f and produce ys.