Hacker News new | ask | show | jobs
by islon 4577 days ago
In clojure you have thread macros to solve the “inside-out” problem.

(-> 3 (+ 6) (* 7) (/ 12))

or (just an example, fictional names)

(->> object reflector fields (map :balance) (filter #(> % 1000))

Which reads like (pseudo language)

object.reflector().fields().map(:balance).filter(field -> field > 1000)