Would You Want To Go From Java To Clojure? 1. Simpler, more elegant • Focus on the problem you are trying to solve not the ceremony around your implementation language 2. Dynamic, but good performance 3. Powerful extensibility 4. FP and concurrency features 1
Get a First Taste of Clojure 1. There are multiple web-based offerings • http://tryclj.com/ • http://clojurescriptkoans.com/ 2. No installation, no hassle 3. Get to know the basics 3
You Want To Install It On Your Machine 1. You need Java. I assume you've got that already 2. Leiningen is the easiest way to get started 3. lein new your-new-app 5
Clojure int i = 5 (def i 5) if(x == 0) return y else return z (cond (zero? x) y z) x * y * z (* x y z) foo(x, y, z) (foo x y z) foo.bar(x) (. foo bar x) 9
• Rich Hickey: Clojure. An Introduction for Java Programmers. (YouTube) • Michael Fogus/Chris Houser: The Joy of Clojure. Manning 2014 (MEAP) • Luke VanderHart, Ryan Neufeld: Clojure Cookbook. O'Reilly 2014 10