A simple example of a SWING GUI with clojure.
28 December 2010
Writing Java code is pain if you know how simple things can be in lisp. Clojure is a lisp dialect for the Java Virtual Machine and it can be used to do everything that Java would normally be used for.
Writing platform portable user interfaces is a pain, too, and Java seems to be one of the canonical choices for this task. Of course there are other choices like QT, wxwindows, Tcl/Tk, and so forth. However, except for QT these frameworks have a strange look and feel and some require platform dependent machine code. So back to Java. What... Read more.