Download - Deliberate practice
![Page 1: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/1.jpg)
Deliberate PracticeBecoming a better programmer
Alex Aitken
@alexaitken
Thoughtcorp
blog.thoughtcorp.com
Jason Cheong-Kee-You @jpcky Mighty Jupiter
mightyjupiter.com
![Page 2: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/2.jpg)
Agenda
Define Deliberate Practice
One Per Week
FizzBuzz Randoori
Object Calisthenics Demo
How do you start?
![Page 3: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/3.jpg)
Deliberate Practice
![Page 4: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/4.jpg)
One Hour Per Week
![Page 5: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/5.jpg)
FizzBuzz
![Page 6: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/6.jpg)
Debrief
![Page 7: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/7.jpg)
calisthenics Gymnastic exercises to achieve bodily fitness and grace of movement
![Page 8: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/8.jpg)
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
![Page 9: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/9.jpg)
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
![Page 10: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/10.jpg)
Demo
![Page 11: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/11.jpg)
Debrief
![Page 12: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/12.jpg)
How do you start?
![Page 13: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/13.jpg)
![Page 14: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/14.jpg)
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/
![Page 15: Deliberate practice](https://reader033.vdocuments.us/reader033/viewer/2022051208/54632835b4af9f5d1c8b4b07/html5/thumbnails/15.jpg)
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/