News for hackers. Stuff that matters.
Re:Clojure is imperative as opposed to declarative by elwell on Saturday August 23, 2014 @09:00PM (#8217334)
I try to use function names that carry a 'declarative mindset' when I write Clojure. E.g.,

  (sections x)
  instead of
  (get-sections x)
  
  (refactored (styled (second-half divs)))
  instead of
  (refactor (apply-styles (take-second-half divs)))
~ evoking a feeling that defn is merely a parameterized form of def (which it truly is)

There are no comments on this comment yet.