This is review of the 1st chapter from the book-”Clean Code: A Handbook of Agile Software Craftsmanship (Robert C. Martin Series)” by Robert C. Martin

In this chapter, Robert sets grounds about what to expect in the rest of the book.

He puts the focus on back the code as being the most important ingredient in Software. There are three factors to this-
A) Knowing what is good code vs bad code
B) Know how to write good code and
C) Professionalism which inspires discipline to write good code and nothing else

He quotes views of greats like Bjarne Stroustrup and Grady Booch on what is good code. Everyone had their own way of describing what good code is- but finally it comes down to one thing code which is – “Simple to read”.

On the most famous excuse on writing bad code- “we didn’t have time”- Robert presents an excellent analogy about a doctor who washes his hands before doing a procedure. He is not going to stop doing so – if the patient thinks that its a waste of time. No one knows more than the doctor how important washing hands is. Similarly it would be unprofessional for us to write anything but good code.

For other chapters- please see this post.

   
© 2011 Technology Cafe Suffusion theme by Sayontan Sinha