This is review of the 5th chapter from the book-”Clean Code: A Handbook of Agile Software Craftsmanship” by Robert C. Martin.

Well formatted code is the first clue  to what to expect when you start to read.

Bad formatting reflects either laziness or chaos or negligence or simply ignorance- all signs for code which is fast deteriorating.

In this chapter , Robert discusses rules regarding formatting the code- indentation, spacing, alignment,density,  consistency within the team

The important thing to keep in mind is that a team is like a melting pot- you leave aside your personal preferences on formatting aside and use what the team has agreed upon – collectively and when you join an existing project- you do what others are doing.

This can be made further easier by using uniform code formatters withing the team

For review of other chapters- please see this post.

   
© 2011 Technology Cafe Suffusion theme by Sayontan Sinha