Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Perth Code Dojo 2
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
William Webster
September 26, 2014
Programming
110
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Perth Code Dojo 2
Checkout
William Webster
September 26, 2014
Transcript
22 slides
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
More Decks by William Webster
See All by William Webster
Building_Highly_Engaged_Teams.pdf
burlistic
0
130
Quantum Encryption - Advances In Data Security
burlistic
0
68
Perth Code Dojo 12
burlistic
0
100
Perth Code Dojo 11
burlistic
0
79
Introducing Agile to Enterprise
burlistic
0
87
Perth Code Dojo 6 - Decoupling the UI
burlistic
0
74
Perth Code Dojo 4
burlistic
0
67
Perth Code Dojo 5
burlistic
0
61
Perth Code Dojo 3
burlistic
0
100
Other Decks in Programming
See All in Programming
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
240
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
2.4k
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
430
Crash Auto Pipelines
veronikapj
1
420
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
680
Claude Code ハーネスDeep Dive – 君はどこまで制御する? -
takateeen_knj
6
5.9k
Будущее локальных LLM – Алексей Голобурдин, PythoNN
sobolevn
0
120
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
2
170
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
270
私なりのハーネスエンジニアリング ~独自の言語処理系の開発を通して~
seosoft
0
210
止まらない比較を止める — 余帰納法で無限ストリームを比べる
tarao
0
190
手の動かし方がわからなかった私が個人開発者になるまで
usagi0920_pochi
0
120
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
660
It's Worth the Effort
3n
188
29k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
520
The Curse of the Amulet
leimatthew05
4
17k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
400
YesSQL, Process and Tooling at Scale
rocio
174
15k
Amusing Abliteration
ianozsvald
1
390
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
300
Thoughts on Productivity
jonyablonski
76
5.5k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.3k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
610