I'll admit it, the first thing I like to do when learning a new language is fire up a
REPL. However, I'm usually ready for the next step after typing in a few numbers, strings and defining a function or two.
What feels like centuries ago, Mike Clark wrote an
article about using unit testing to learn a new language. Mike was ahead of his time. This blog entry should help you if you want to follow Mike's advice.
Luckily, Clojure has built in support for simple testing. (I'm currently using Cloju...
Published on August 11, 2010 17:30