Deliberate PracticeBecoming a better programmer
Alex Aitken
@alexaitken
<EPAM>
blog.thoughtcorp.com
alexaitken.com
Thursday, 16 August, 12
Agenda
Define Deliberate PracticeOne Per WeekFizzBuzz RandooriObject Calisthenics DemoHow do you start?
Thursday, 16 August, 12
Deliberate PracticeThursday, 16 August, 12
One Hour Per Week
Thursday, 16 August, 12
FizzBuzz
Thursday, 16 August, 12
Debrief
Thursday, 16 August, 12
calisthenics Gymnastic exercises to achieve bodily fitness and grace of movement
Thursday, 16 August, 12
Object Calisthenics
• Use only one level of indentation per method• Don’t use the else keyword• Wrap all primitives and strings• Use only one dot per line• Don’t abbreviate• Keep all entities small• Don’t use any classes with more than two instance variables• Use first-class collections• Don’t use any getters/setters/properties
- Jeff Bay
Thursday, 16 August, 12
Object Calisthenics
• Use only one level of indentation per method• Don’t use the else keyword• Wrap all primitives and strings• Use only one dot per line• Don’t abbreviate• Keep all entities small• Don’t use any classes with more than two instance variables• Use first-class collections• Don’t use any getters/setters/properties
Thursday, 16 August, 12
Demo
Thursday, 16 August, 12
Debrief
Thursday, 16 August, 12
How do you start?
Thursday, 16 August, 12
Thursday, 16 August, 12
References
Object Calisthenics http://www.markhneedham.com/blog/2008/11/06/object-calisthenics-first-thoughts/
Katashttp://codingdojo.org/cgi-bin/wiki.pl?KataCatalogue
Doing practice with your team http://blog.thoughtcorp.com/2011/07/18/practice-built-in/
Constraint exercisehttps://gist.github.com/3355541
Thursday, 16 August, 12
Credits
http://www.flickr.com/photos/magnuz/4111206/
http://www.flickr.com/photos/totalaldo/503335275/
http://www.flickr.com/photos/ajc1/2799103829/
http://www.flickr.com/photos/adam_jones/3793605961/
http://www.flickr.com/photos/paulmoody/643667931/
Thursday, 16 August, 12
Please fill out surveys
Deliberate Practice
Alex Aitken
Aug 16 2012
Thank youThursday, 16 August, 12