Categories
Uncategorized

A Thing of Beauty

There’s an interesting article, A thing of beauty in the latest New Scientist. It has deep resonance with me as a programmer. It reminds me of a quote I once read.

Code should be written for humans to read, and only incidentally for computers to execute. Introduction to SICP

Sorry, I forget the attribution. Knuth maybe? But the point is that elegant code clearly expresses the ideas that you are thinking to other people who read that code. Often, the elegant solution to a problem will also be the naturally faster one as well. Unfortunately, that reminds me of another quote.

For every complex problem, there is a solution that is simple, neat,
and wrong. —H. L. Mencken

But that certainly shouldn’t stop you from trying to find a clean elegant solution. 🙂

2 replies on “A Thing of Beauty”

Leave a Reply to Dominic Mitchell Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s