Tag Archives: Clojure
Clojure 2011 Year in Review
A new year is upon us. Before the world ends, let’s take a look back at what 2011 meant for everybody’s favorite programming language: Clojure 1.3.0 was released, bringing better performance to numeric applications, reader syntax for record types, and … Continue reading
The Naming of Namespaces
From time to time I’m asked, “How do you organize namespaces in Clojure projects?” The question surprised me at first, because I hadn’t thought about it much. But then I was using Clojure back when the only way to load … Continue reading
ClojureScript Launch, New York
As you may have heard, last night we (Clojure/core) announced ClojureScript at the Clojure NYC Meetup. Rich Hickey gave a talk, which was streamed live over the web, while we monitored Twitter and IRC for feedback. The event was a … Continue reading
Dependency Management First-Aid Kit
This article attempts to unravel some of the mysteries of dependency management with Maven and Maven-based tools. Help, something’s missing! Say you have a project named “my-new-project” which declares a dependency on version 3 of the “awesome-sauce” library by the … Continue reading
Speaking at ÜberConf Denver in July
I’ll be speaking at Über Conf 2011 In Denver, CO July 12th to 15th. I’m doing three (gulp!) sessions: two on Clojure, and one on my work with AltLaw.org.
Clojure in Philadelphia, April 27-28
I’ll be talking about Clojure at Emerging Technologies for the Enterprise in Phidelphia, April 27-28, 2011. My talk is tentatively titled Clojure: Lisp for the Real World, and it will be a high-level overview of how Clojure’s unique features can … Continue reading
Edit Quotient
Remember Levenshtein Distance: the number of changes to turn one string into another? Here’s a naïve implementation in Clojure: (defn levenshtein [s t] (let [m (count s) n (count t) d (make-array Integer/TYPE (inc m) (inc n))] (dotimes [i m] (aset-int … Continue reading
Single Abstract Method Macro
John Rose’s article, Scheme in One Class, introduced me to the notion of Single Abstract Method, or SAM, classes. One of the proposed APIs for JSR-292 allows a MethodHandle (the Java version of a closure) to be cast to any … Continue reading
The Expression Problem in Clojure
My article for IBM developerWorks has been published: “Solving the Expression Problem with Clojure 1.2″