Pages

Monday, 10 May 2010

Code Inspections, Peer Review and Pair Coding

Most of us probably think we are great no matter how polite we are. However we all make mistakes, maybe not really big ones but some small ones that can add up to considerable delays and over spends.

Code Inspections (give your work to someone to check) are good at finding many mistakes but often a good enough solution has been implemented and its really hard to now change that to a much better solution so we accept mediocre work which will lead to many small costs to fix and change is time goes on.

Much better is to do Peer Reviews. Get you work checked before you check it in. Fix the problems together to have an improved solution.

But ultimately Pair Coding is the way to go. Every problem and solution is discussed the 'best' solution implemented in the most cost effective way and no need to involve the politics needed to determine if fixes are worth it once the code is committed.

No comments: