Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Perth Code Dojo 2
Search
William Webster
September 26, 2014
Programming
0
93
Perth Code Dojo 2
Checkout
William Webster
September 26, 2014
Tweet
Share
More Decks by William Webster
See All by William Webster
Building_Highly_Engaged_Teams.pdf
burlistic
0
110
Quantum Encryption - Advances In Data Security
burlistic
0
44
Perth Code Dojo 12
burlistic
0
77
Perth Code Dojo 11
burlistic
0
55
Introducing Agile to Enterprise
burlistic
0
67
Perth Code Dojo 6 - Decoupling the UI
burlistic
0
54
Perth Code Dojo 4
burlistic
0
41
Perth Code Dojo 5
burlistic
0
40
Perth Code Dojo 3
burlistic
0
82
Other Decks in Programming
See All in Programming
テストコード書いてみませんか?
onopon
2
310
非ブラウザランタイムとWeb標準 / Non-Browser Runtimes and Web Standards
petamoriken
0
420
Go の GC の不得意な部分を克服したい
taiyow
3
1k
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
380
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
850
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
1.3k
PicoRubyと暮らす、シェアハウスハック
ryosk7
0
160
ドメインイベント増えすぎ問題
h0r15h0
2
550
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
690
Rubyでつくるパケットキャプチャツール
ydah
0
110
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
250
.NETでOBS Studio操作してみたけど…… / Operating OBS Studio by .NET
skasweb
0
120
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
120k
Gamification - CAS2011
davidbonilla
80
5.1k
No one is an island. Learnings from fostering a developers community.
thoeni
19
3.1k
Statistics for Hackers
jakevdp
797
220k
GitHub's CSS Performance
jonrohan
1030
460k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
19
2.3k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
GraphQLの誤解/rethinking-graphql
sonatard
68
10k
Fireside Chat
paigeccino
34
3.1k
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Building Applications with DynamoDB
mza
92
6.2k
Transcript
Perth Code Dojo 2 @willwebst #CodeDojo
Check-In ➔ Your name ➔ What you do (at work)
➔ A random fact about yourself
Code Dojo Format A Coding Dojo is a coding session
centered around a programming challenge. The dojo provides a safe place to learn and experiment away from the pressures of business delivery. All programmers of varying skill levels meet as equals to learn and share.
Software Craftsmanship “Deliberate practice is closely related to the attained
level of performance of many types of experts” - Dr. K. Anders Ericsson 10,000 hrs rule - Malcolm Gladwell
Dojo Rules ➔ Paired Programming ➔ Simple Design ➔ Test
Driven Development ➔ Refactoring
Pomodoro ➔ Pomodoro Technique ◆ 25 mins on, 5 mins
off ◆ http://tomatoi.st/perthcodedojo ➔ Four iterations
Retro & Pizza Closing with Pizza and a mini retrospective
➔ Share solutions on the big screen ➔ Discuss challenge / approach ➔ Feedback on the dojo
Polite Notice Please respect each others commitment. During a Pomodoro.
➔ No Facebook ➔ Mobile phones ➔ Etc.
Have Fun! Most importantly have fun! ➔ Drinks are available
- help yourselves
Supermarket Checkout Implement a check out that handles the following
items and returns a running total Product Cost Special Apples 50 cents Buy 2 get 3rd free Cherries 5 dollars Mangos 3 dollars
Objective Make the checkout be extendable. So it can handle
multiple discount and be flexible for the future.
Scenario 1 Implement a check out that handles the following
items and returns a running total Product Cost Special Apples 50 cents Buy 2 get 3rd free Cherries 5 dollars Mangos 3 dollars
Begin! 25 mins
Stop! 5 mins
Scenario 2 Buy 3 cherries and save 7.50 Product Cost
Special Apples 50 cents Buy 2 get 3rd free Cherries 5 dollars Buy 3 save 7.50 dollars Mangos 3 dollars
Begin! 25 mins
Stop! 5 mins
Scenario 3 20 % off Cherries Bonus: Apply a 80%
discount. What happens to your total balance?
Begin! 25 mins
Stop! 5 mins
Mini Retro How did you find the exercise? What did
you learn? Share your solution!
Thank you sponsors! Code - http://github.com/burlistic Slides - http://speakerdeck.com/burlistic @willwebst
Next session the last monday of the month