Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Coding Dojo
Calisthenics Objects
Geek Time - Octobre 2016
Nizar GARRACHE
OLBATI CTO
OLBATI - Geek Time - Octobre 2016 2
Berlin Clock Kata
● git clone https://github.com/olbati/ocd-berlin-clock
OLBATI - Geek Time - Octobre 2016 3
Calisthenics Objects
● One level of indentation per method
● Don’t use the ELSE keywor...
OLBATI - Geek Time - Octobre 2016 4
● http://williamdurand.fr/2013/06/03/object-calisthenics/#onl
y-one-level-of-indentati...
OLBATI - Geek Time - Octobre 2016 5
Thanks!
Any questions?
@ngarrache
nizar.garrache@gmail.com
Upcoming SlideShare
Loading in …5
×

Geek Time October 2016 : Coding Dojo - Calisthenics Objects

136 views

Published on

Coding Dojo - Calisthenics Objects
Par Nizar GARRACHE, CTO OLBATI
Au Geek Time de October 2016

Published in: Software
  • Be the first to comment

  • Be the first to like this

Geek Time October 2016 : Coding Dojo - Calisthenics Objects

  1. 1. Coding Dojo Calisthenics Objects Geek Time - Octobre 2016 Nizar GARRACHE OLBATI CTO
  2. 2. OLBATI - Geek Time - Octobre 2016 2 Berlin Clock Kata ● git clone https://github.com/olbati/ocd-berlin-clock
  3. 3. OLBATI - Geek Time - Octobre 2016 3 Calisthenics Objects ● One level of indentation per method ● Don’t use the ELSE keyword ● Wrap all primitives and Strings ● First class collections ● One dot per line ● Don’t abbreviate ● Keep all entities small (50 lines) ● No classes with more than two instance variables ● No getters/setters/properties
  4. 4. OLBATI - Geek Time - Octobre 2016 4 ● http://williamdurand.fr/2013/06/03/object-calisthenics/#onl y-one-level-of-indentation-per-method ● https://www.cs.helsinki.fi/u/luontola/tdd-2009/ext/ObjectCa listhenics.pdf Resources
  5. 5. OLBATI - Geek Time - Octobre 2016 5 Thanks! Any questions? @ngarrache nizar.garrache@gmail.com

×