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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
William Webster
September 26, 2014
Programming
110
0
Share
Perth Code Dojo 2
Checkout
William Webster
September 26, 2014
More Decks by William Webster
See All by William Webster
Building_Highly_Engaged_Teams.pdf
burlistic
0
120
Quantum Encryption - Advances In Data Security
burlistic
0
57
Perth Code Dojo 12
burlistic
0
88
Perth Code Dojo 11
burlistic
0
73
Introducing Agile to Enterprise
burlistic
0
79
Perth Code Dojo 6 - Decoupling the UI
burlistic
0
67
Perth Code Dojo 4
burlistic
0
52
Perth Code Dojo 5
burlistic
0
52
Perth Code Dojo 3
burlistic
0
96
Other Decks in Programming
See All in Programming
TSKaigi2026-静的解析への投資がAI時代のコード品質を支える ── カスタムESLintルールの設計と運用
hayatokudou
6
1.3k
TypeScriptだけでAIエージェントを作る フロント・エージェント・インフラのフルスタック実践
har1101
6
1.2k
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
290
Zod v4 Codec でスキーマに型変換を埋め込む REST API 設計 #TSKaigi2026
ryutaro_yako
0
170
CLIであることを活かしたGitHub Copilot CLI活用術 / GitHub Copilot CLI Pro Tips & Tricks
nao_mk2
1
1.1k
JavaDoc 再入門
nagise
0
210
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
120
net-httpのHTTP/2対応について
naruse
0
350
軽量Java基盤の設計 DIコンテナに頼らない、長期保守と1秒起動の実現 JJUG CCC 2026 Spring
macha64
0
170
Migrations : C'est une question d'hygiène !
vinceamstoutz
0
2.5k
Java × distroless で 軽量なコンテナイメージを / Java on Distroless
contour_gara
0
410
自動レビューエンジンの実装と運用 ~レビューのない世界へ~
kurukuru1999
2
290
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Site-Speed That Sticks
csswizardry
13
1.2k
Building an army of robots
kneath
306
46k
Raft: Consensus for Rubyists
vanstee
141
7.5k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
70
39k
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
230
A designer walks into a library…
pauljervisheath
211
24k
Done Done
chrislema
186
16k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
199
74k
Darren the Foodie - Storyboard
khoart
PRO
3
3.4k
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