Code Like It Is For A Blog

Be hard on your own code.

Your job, as a programmer, is to write ‘good’ code. Regardless of if it is working or not, human beings will need to read it to understand what it does. This means that you should follow convenstions, remove extra whitespace, and apptly name things.

You should write code just like it is going to be reviewed by the entire world. You should feel embarrased if you commit whitespace errors. You should be shunned by your teamates, and you should in turn shun your teamates. It is not just for the aesthetics. Imagine if your diffs were littered with various changes that didn’t have a lot to do with the commits intent.

Please join me in writing code like it will end up on a blog, and that blog has unfiltered commenting with everyone in the world invited to comment.

Leave a 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.