Definition of Beautiful Code

I’ve been hearing developers talking about “beautiful code”, heck, there’s even a book titled with it. What is “beautiful code”? From my observation, “beautiful code” is defined as code that I write or anything that you write that I’m not involved in. On the other hand, the “ugly code” is defined as any code other morons write.

One of the things I enjoy about my chosen profession is that it allows creativity and at times, interesting expression; much like the art of writing. After all, we all say we “write” the code, just as an author of a book would say. Just as a good book or a painting, I firmly believe that everything’s subjective. In other words, it’s truly in the eye of beholder.

So next time you run into the “ugly code”, just take a step back and compliment the writer for his/her creativity rather than lash out at him/her. We all can take a step back and be kind to each other.

Comments

Comments are closed.

Powered by Olark