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
68
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
100
Quantum Encryption - Advances In Data Security
burlistic
0
38
Perth Code Dojo 12
burlistic
0
55
Perth Code Dojo 11
burlistic
0
41
Introducing Agile to Enterprise
burlistic
0
51
Perth Code Dojo 6 - Decoupling the UI
burlistic
0
45
Perth Code Dojo 4
burlistic
0
26
Perth Code Dojo 5
burlistic
0
32
Perth Code Dojo 3
burlistic
0
56
Other Decks in Programming
See All in Programming
コミュニティに参加したことで起きた変化
ohmori_yusuke
3
130
Crafting a Own PHP - ウキウキ手作りミニマリストPHP
uzulla
4
1.1k
Material 3で Material 2ぽい見た目にする
numeroanddev
2
250
phpunit/php-code-coverageって何をしてるんだ #phperkaigi
o0h
PRO
2
220
WebComponentsで フレームワークを1ページに共存させる
webuilder240
0
150
Learning PHP and Static Analysis with PHP Parser
inouehi
1
250
自作ソフト(VMagicMirror)がVRMA対応してる話+実装のTips
bakudreameater
0
110
ISUCONってなんだか難しそう……!!でも、初めてのISUCONにPHPで挑戦してきました!
kotomin_m
1
300
プロンプトエンジニアリング入門
tomokusaba
2
970
C# 大統一理論推進委員会 会員のための Unity Package Manager プロジェクト構成案
monry
PRO
0
580
PHPでOfficeファイルを取り扱う! PHP Officeライブラリを プロダクトに組み込んだ話
hirobe1999
0
840
IntelliJ IDEA を知らなかった 自分に教えたい小ネタ集 / IntelliJ IDEA Hints for My Past Self
mackey0225
3
170
Featured
See All Featured
5 minutes of I Can Smell Your CMS
philhawksworth
199
19k
Designing Experiences People Love
moore
135
23k
Creatively Recalculating Your Daily Design Routine
revolveconf
209
11k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
355
22k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
19
1.6k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
How To Stay Up To Date on Web Technology
chriscoyier
781
250k
Build your cross-platform service in a week with App Engine
jlugia
223
17k
Designing on Purpose - Digital PM Summit 2013
jponch
109
6.4k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
240
1.2M
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.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