Welcome to Cardigan Bay

Cardigan Bay is my new wiki-engine written in Clojure / ClojureScript. I’ve been working on it for about three months, and it’s a long way from finished, but now interesting enough for people to start playing with (and hopefully giving me some feedback on). The goal is for this to be the new engine behind […]

Travel Report

So as noted previously, I went travelling without a notebook, but with a Xaomi tablet, a portable keyboard, and a copy of UserLand Linux. How did that go? Surprisingly well. Actually I ended up using another keyboard, a cheap “cover” with keyboard built in, no Bluetooth but micro-USB. And I had to get an adaptor […]

How would you design the perfect programming language?

Another Quora answer I should be moving here : Phil Jones’s answer to How would you design the perfect programming language?   Well, the obvious way you’d approach it, is start with a reasonable knowledge of using other languages to get a sense for their strengths and weaknesses. And start with some good role models. […]

Which language is better for creating DSLs, Clojure or Haskell?

Another Quora answer. Part of my increasing admiration for the virtues of EDN in Clojure. Which language is better for creating DSLs, Clojure or Haskell? Clojure has a slightly different philosophy than most Lisps, I think. In Clojure you’d be more likely to make your “DSL” in EDN (“Extensible Data Notation”, which is a bit […]

A Replacement for PHP

I asked Quora for ideas for how a replacement PHP might look. On the whole people are not enthusiastic. Alexander Tchitchigin had an interesting answer, but which focused on the basic theme of “once we move away from PHP’s weaknesses, we might as well use any language. Which prompted me to write this comment elaborating […]

August is Patterning Month

August is Patterning month again. I’m back to work on the Patterning library. And, in particular, getting it working properly in the ClojureScript, in-browser version. I’m going to be using devcards, figwheel, spec and other good tools in the Clojure community. I’ll be revamping the site and new versions of the code. Watch this space […]

Logic Programming is Overrated

An interesting argument that logic programming is overrated The reason why logic programming is so rarely useful is that, essentially, core.logic is just a complex DSL for doing exhaustive search. Clojure already has an elegant, compact DSL for doing exhaustive search — it is called the for comprehension.