After a few years of doing zero Clojure hacking, recently I’ve picked up a side project in Clojure again. Rather than using my usual editors to edit Clojure code, I chose to go the all-in hardcore Lisp route: Emacs with Paredit (I followed these instructions to set it up). And during that time I developedContinue reading “Parenthesical Culture and ParEdit”
Tag Archives: Clojure
Clojure Support on Heroku
Heroku is known for its [Ruby](http://ruby-lang.org) hosting and later added [node.js support](http://blog.heroku.com/archives/2010/4/28/node_js_support_experimental/) as well. Now, [Heroku also supports Clojure](http://blog.heroku.com/archives/2011/7/5/clojure_on_heroku/): > We’re very excited to announce official support for [Clojure](http://clojure.org), going into public beta as of today. Clojure is the third official language supported by Heroku, and is available on the [Cedar stack](http://devcenter.heroku.com/articles/cedar). [Clojure](http://clojure.org) is aContinue reading “Clojure Support on Heroku”
The Point of WebDSL
Jay asks in the comments: I don’t mean to be mean, because I really like your blog and I read it all the time… but could you just explain to me the point of WebDSL? I honestly don’t mean it in any kind of negative way, I’m just wondering why you’re dedicating your valuable timeContinue reading “The Point of WebDSL”
On Language Design: Magic Variables in Compojure
The Perl language is riddled with special variables. Consider the following example: open(FILE, “bla.txt”); while(<FILE>) { print; } In case you don’t speak Perl, this is equivalent to: open(FILE, “bla.txt”); while(<FILE>) { print $_; } Still unclear? Alright, once more: open(FILE, “bla.txt”); while($line = <FILE>) { print $line; } Perl is developed by linguist LarryContinue reading “On Language Design: Magic Variables in Compojure”
On Language Design: My Problem With ClojureQL
Update: Since this post, ClojureQL has been completely redesigned, my criticism in this post no longer applies. You can find more information about the new ClojureQL on its new website. Every programming language comes with a certain syntax, a certain feel for what feels like native use of that syntax, and the semantics of theContinue reading “On Language Design: My Problem With ClojureQL”
Adia: A Week With Clojure And MongoDB
I spent last week with my wife and her family in Poland (my wife is Polish). Her parents do not speak English, or any other language than Polish so communication is problematic beyond the thank you, you’re welcome, yes and no thank yous. My wife also spends a lot of time meeting with her friends,Continue reading “Adia: A Week With Clojure And MongoDB”
Building Clojure Projects with Leiningen
Everybody who once used Java, struggled with Java’s classpath at some point during their career. You have to put all the right paths in there, the right .jar files and so on, both when compiling and running your Java project. To make this somewhat simpler you typically end up doing it either in an IDE, orContinue reading “Building Clojure Projects with Leiningen”
Interesting Clojure Projects
Some pointers for new explorers of Clojure. IDE-related: VimClojure SLIME for Clojure on Emacs Enclojure, a NetBeans plugin DSLs/libraries built for Clojure: ClojureQL (Clojure Query Language) Compojure, a Clojure web framework CongoMongo, a MongoDB library Cow-blog, simple blogging software written using Compojure Other: Clojure reddit
Brief Introduction to Clojure
Clojure (pronounced “Closure”) is a relatively new programming language which runs on the Java Virtual Machine. This is roughly what it looks like: defn say-hello-to [name] println “Hello,” name Neat, huh? Well, ok, I was lying a little bit in order not to scare you, because… pss, Clojure is a Lisp! You’re still here? Alright.Continue reading “Brief Introduction to Clojure”