Slides and code from my Clean Code session05 Sep 2009
A while back I organised a coding session during an internal training day at work. The aim of the session was to introduce practices from the Clean Code book, to make code a little bit cleaner and practice the boy scout rule. I’ve tried to include the important points from the book, though everything in the book is equally important.
I’m sharing the slides and the code. Feel free to use it and improve on it. The code is a Sudoku solver from the Programming In the Small session at SC ‘09. I’ve converted the Java code to C#. The code includes acceptance tests, so you can fearlessly refactor without breaking it.
The session was planned for 90 minutes. It includes slides introducing clean code concepts, with coding exercises to practice them. I recommend 10-15 minutes for the coding exercises.