One thing I found instructive is David Nolen's “Minecraft” port http://swannodette.github.io/2013/06/10/porting-notchs-minecraft-demo-to-clojurescript/
In David's post he claimed that 400 lines would drop by 200 with real keyword support—it did; you can see this with the latest compiler. Also of interest for code size is David's use of lower level constructs (JavaScript arrays instead of ClojureScript persistent collections) and the use of the == function instead of =. In short, some small changes you might make to David's code can pull in surprisingly large dependencies—this gives you a good feel for the mechanics if you are striving for an extremely small output. -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
