2 ms·
I suspect I overuse the x->y naming convention for functions that take an x and return a y. Esspecially when there is only one kind of thing that that function
by escherize 11y ago
I suspect I overuse the x->y naming convention for functions that take an x and return a y. Esspecially when there is only one kind of thing that that function ever takes.
So instead of:
(-> x x->y y->z)
I'd have:
(-> x y z)
Makes sense. Thanks for the post Stu!
P.S. Another useful tome about naming functions is: https://github.com/bbatsov/clojure-style-guide https://github.com/bbatsov/clojure-style-guide