Dr. David J. Pearce

Beautiful Code ... ?


Recently, I’ve been reading “Beautiful Code” (edited by Andy Oram & Greg Wilson). This is a collection of short papers by academics and professional  software developers which explores the idea of beauty in software. I was looking forward to this, partly because we’ve just started a new course on “Software Design” and I needed some inspiration.  Unfortunately, overall, I have to say that I was largely disappointed.  There are a lot of articles (some 30 or so in total), so you couldn’t expect them all to be fantastic.  However, whilst there were a few that I did find rather interesting, most were too detailed and often rather tedious for my liking.  Certainly, I don’t really feel like I have a better idea of what beautiful code is.   In fact, it really makes me ask the question: can code ever really be beautiful?

I’m going to stick my neck out now, and point out a few of the ones I really liked:

Anyway, there were a number of others which I enjoyed as well — but I’ll leave them for you to find.