Source: dzone.com

Reading Code Is a Skill
by I saw a Tweet I agreed vehemently with, so I retweeted it: A number of replies to my retweet said variations on this theme: (Note: I have the greatest respect for Brian Goetz, and I don't disagree with the sentiments expressed in any of the Tweets embedded in this post.

Similarly, no matter how much you try to write code that's readable, and no matter how hard everyone else around you tries to do the same, the reality of life is you will have to read code that you find difficult to understand at some point in your career.

We should also be kind and caring to the authors of the code, and learn to accept the code as it is.

By all means, make the reader's job as simple as you can, but you can't assume that just because you wrote code that you think is clean and readable that all developers will be able to understand it.

Related Articles