Post on 29-Jul-2015
CODING DOJO...WHAT?
A friendly environment to train and learn
...work together on a problem
...and, hopefully, have some fun!
HOW?
• We will start from scratch, no previous knowledge of unit testing is needed
• Baby steps. We have no hurry
• Pair programming
• We don’t want to write the “perfect code” at once
• Actually, we shouldn’t!
PAIR PROGRAMMING
• One driver, one observer
• Driver has the keyboard
• Observer keeps track of the bigger picture
• Driver and observer talk out loud their ideas
• No comments from the audience during the red phase
• OK to ask for help if you’re stuck, though
• When the time slot is over, the driver goes back to the audience, the observer becomes the driver, and a new observer comes from the audience
RETROSPECTIVE
http://www.slideshare.net/wouterla/coding-dojo-in-5-minutes
OUR FIRST PROBLEM: MONEY WRITER
• We want to long-write money values in Portuguese
• So, 24.50 would be printed as “Vinte e quatro reais e cinquenta centavos”
• Let’s use C#, Nunit and ReSharper
• Git to record the process of code design