Live data from Hacker News

Less painful GUIs in Clojure - Talk

skillsmatter.com

1–10 of 14 posts

Re: Less painful GUIs in Clojure - Talk

#3
I've always wanted to learn Clojure but found the curve a little too steep. The way you turn something as stuffy as Swing into JQuery-style code and stylesheets, that is so amazing. If only there were more time to learn stuff like this.

Are most of these implemented using macros?

Re: Less painful GUIs in Clojure - Talk

#4
post #3

I've always wanted to learn Clojure but found the curve a little too steep. The way you turn something as stuffy as Swing into JQuery-style code and stylesheets, that is so amazing. If only there were more time to learn stuff like this. Are most of these implemented using macros?

The components are constructed using the (make) macro, yes, and all the listener stuff that I explain is also done with macros. The selectors also use a very simple macro that makes the syntax a bit lighter (so instead of saying "and-matcher" you can just say "and"), but the mechanism is very composable, you can use your own custom functions in combination to the existing matchers.

The rest is all functions!

Re: Less painful GUIs in Clojure - Talk

#8
post #5

Looks worthwhile to try out. I've also used Seesaw ( https://github.com/daveray/seesaw ) which was pretty enjoyable.

+1 for seesaw. For anyone who is interested and in the area, Dave will be talking about Seesaw at this Tuesday's Ann Arbor Craftsman Guild meetup http://craftsmanguild.herokuapp.com/
Post reply on HN