Minimalist Coding Guidelines

added by dpeterson
8/6/2011 10:44:03 AM

334 Views

A nice write-up on generic coding standards that can be applied to any language by any programmer. There are years of experience (42, according to the author) poured into this piece, and it shows.


2 comments

vijayst
8/6/2011 10:51:39 AM
A very good article on coding guidelines. Most of what is mentioned is followed by professional programmers. Nevertheless interesting read.

Adding my opinion to what is already said: Do code refactoring all the time. Code refactoring is redesigning the code after lot of requirements have been added. This ensures that the code is still maintainable after all those changes.

dpeterson
8/6/2011 4:17:43 PM
I tried to reply to your comment Vijay, but for some reason it disappeared.
I find that making refactoring part of your weekly workflow improves code quality greatly. Often, when I'm designing a system, I will revisit a piece of code a day or two later and evaluate whether it can be improved or not. A fresh perspective can highlight bugs and deficiencies.