Peforming Code Katas

Post on 06-May-2015

1035 Views

Category:

Education

7 Downloads

Preview:

Click to see full reader

Transcript

Email (samnang.chhun@gmail.com)

Blog (http://tech.wowkhmer.com)

Rails Developer

.NET Developer

Kata is a Japanese word describing detailed choreographed patterns of movements practiced either solo or in pairs. (Wikipedia)

Practice on a small exercise

30 minutes to an hour long(time without interruptions)

Experimentation

Reflection

Learn by mimicking a Master.

create a

failing

test

write

just

enough

to pass

remove

duplicatio

n clarify

intent

AudienceSee the real actions of someone how he solves on the specific problem

Learn from the good points.

PresenterSharing experiences

Improving from feedbacks.

Create a simple String calculator with a method Add(numbers) that takes string(0, 1 or 2 numbers)

Allow the Add method to handle an unknown amount of number

Add(“”), Add(“1”), Add(“2,3”), A(“2,3,10”), etc…

Allow the Add method to handle new lines between numbers( instead of commas)

Add(“2\n3”), Add(“2,\n”) NOT ok

Allow the Add method to handle a different delimiter:

Add(“//;\n2;3”), Add(//@\n2@3”)

Negatives not allowed. Error message contains all the negative numbers.

Observe

Judge ( score 0 – 10 )

Constructive Criticism

Quality of Solution

Code Readability

Testing

Delivery

Entertainment

Choose a simple programming problem

Solve it every day!

Experiment with solutions

Learn it cold!

Perform kata before peers.

top related