Playing (cards) with Clojure
I’m learning Clojure, which is a modern Lisp, which is hosted on the JVM. I’m so far really liking the focus on integrating the benefits of functional programming into a modern environment. It is pragmatic and reasonable. It feels like programming for grown-ups, in the same way that Node.js feels like programming for people with more energy than sense. While riding on the train with my kids, I told them, “Hey, I’m learning this new language, let’s use it to make a card game since we don’t have any cards with us.” Clojure, as a Lisp, is meant to be usable interactively from a REPL and since I was on my phone in a train, I used an in-browser version of Clojure called ClojureScript. The one I used is at http://trycojure.org. ...