Top Banner
CODING DOJO #1 22/05/2013
11

Coding dojo 22_05_2013

Jul 29, 2015

Download

Documents

Rodrigo Vieira
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Coding dojo 22_05_2013

CODING DOJO #1

2 2/ 05 /2 0

1 3

Page 2: Coding dojo 22_05_2013

WHY?

Programming is a craft, and every craft requires training

Page 3: Coding dojo 22_05_2013

CODING DOJO...WHAT?

A friendly environment to train and learn

...work together on a problem

...and, hopefully, have some fun!

Page 4: Coding dojo 22_05_2013

WHAT ELSE?

This is NOT a competition or a talent show

There is no “right” solution for the problem

Page 5: Coding dojo 22_05_2013

HOW?

Page 6: Coding dojo 22_05_2013

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!

Page 7: Coding dojo 22_05_2013

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

Page 8: Coding dojo 22_05_2013

RETROSPECTIVE

http://www.slideshare.net/wouterla/coding-dojo-in-5-minutes

Page 9: Coding dojo 22_05_2013
Page 10: Coding dojo 22_05_2013

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

Page 11: Coding dojo 22_05_2013

QUESTIONS?