by Ian Randall
45 minute coding sessions
"A musician that only played on stage would not get too many along to their concerts"
Take a principle
- "Good methods are short"
- "Encapsulating primitives is good"
Turn it up to 11
- No method can have more than 2 lines
- No primitives can go across boundaries
Always the same problem domain:
but did you notice?
no constraint over things like:
lots of games
Who the fuck wrote this test?
What the fuck were they thinking?
*oh, it was me
Well the test goes green...
Global Day of Code Retreat
December 8th, 2012