Hi Steven,
Skip interfaces and gen-class, and look instead at protocols and
types. There is a simple example [1] in the labrepl [2]. (You will
need to be on Clojure 1.2 bits, which labrepl does for you, and you
should do in any case.)
I think people will use protocols less frequently than
Hi,
I'm thinking about writing some piece of software completely in
clojure (yeah!) However, it is my first time so I want to make sure I
know what I'm doing.
Specifically, I prefer to define the important components of my
software as Java interfaces. Partly to see myself think, partly
because it