Monthly Archives: August 2012

Clojure/Datomic creator Rich Hickey on Deconstructing the Database

Rich Hickey, author of Clojure, and designer of Datomic presents a new way to look at database architectures in this talk from JaxConf 2012.

http://jaxenter.com/clojure-datomic-creator-rich-hickey-on-deconstructing-the…

Advertisements

Roman Numerals in Clojure

I saw this post on Roman Numerals in Clojure:

http://www.jayway.com/2012/08/04/a-decimal-to-roman-numeral-converter-in-just…

This is the sort of little programming problem that can stop useful work dead in its tracks. Here’s my shot at the problem. I think it reads better in that the recursion just deals with the numbers and the Roman numeral strings are mapped latter. It’s also a bit more efficient in the way it tests against the Roman “bases” (as I call them). There’s no need to retest against a high base once your interim value has gone below that mark. In any case, my version is quite a bit faster than the other solution in my micro-benchmarks.