So I downloaded the REPL (read-eval-print-loop) from http://clojure.org/getting_started. And amazingly it all worked as described. The two examples on the page work straight away, even the one that calls a Java Swing method (which is reassuring) when suddenly I realise that I haven't got a clue what I'm doing.
I have no prior knowledge of Lisp or any other functional language. The syntax is quite alien. I have no idea what to type.
Time to learn.
A couple of clicks later and I'm here: http://java.ociweb.com/mark/clojure/article.html, learning that Clojure is “less noisy” than Java both when defining and calling functions. I'm learning that it has “prefix notation” - making sense of the examples I just ran. And I'm learning that the article I'm reading seems to be aimed squarely at Java programmers. Which is nice. (And I'm making some progress with the Dvorak key layout)
No comments:
Post a Comment