News for hackers. Stuff that matters.
Re:Functional-navigational programming in Clojure with Specter by dj-wonk on Tuesday September 29, 2015 @09:00AM (#10295881)
I find the use of all-caps to be non-idiomatic. Take `LAST`, for example.
Re:Functional-navigational programming in Clojure with Specter by nathanmarz on Tuesday September 29, 2015 @11:52AM (#10297177)
Regular functions are treated as filters, so that's done so that things like ALL, LAST, etc. are clearly delineated as something different than filters.
Re:Functional-navigational programming in Clojure with Specter by dj-wonk on Tuesday September 29, 2015 @01:41PM (#10297989)
It is stylistic and idiomatic preference. I'd probably group those kinds of functions into a namespace. Then again, I didn't write the library. :)