Re:Marvin Minsky – The beauty of the Lisp language
by islon on Tuesday December 10, 2013 @06:11AM
(#6880057)
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)
Re:Marvin Minsky – The beauty of the Lisp language
by 6d0debc071 on Tuesday December 10, 2013 @08:15AM
(#6880506)
Did you try thinking aloud what you were writing?
Like, while writing (+ 5 6), saying "Sum of five and six." I found the prefix style a little odd until I started doing that.
I'm a sucker for punishment, so after my first (bad) taste of LISP, I took an AI course that was 100% LISP. My AI teacher studied under McCarthy at Stanford, so I probably can't blame him for anything.