Your SlideShare is downloading. ×
0
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Code Dojo
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Code Dojo

1,895

Published on

PHP3City Meetup #2 17/06/2013 - Gdańsk

PHP3City Meetup #2 17/06/2013 - Gdańsk

Published in: Technology
0 Comments
8 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,895
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
15
Comments
0
Likes
8
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. CODEDOJO@cakper
  • 2. 17/06/13 Gdańskcode dojo@CAKPERSoftware Engineer @SensioLabsUKSilesia PHP User Group // Spug.pl#symfony-pl // Symfonylab.pl
  • 3. flickr.com/foliosus/2792686705/道場Dojo
  • 4. 17/06/13 Gdańskcode dojo“PLACE OF THE WAY”
  • 5. 17/06/13 Gdańskcode dojoDELIBERATE PRACTICE“Done  on  purpose;  inten.onal.Formed  with  delibera.on;  well-­‐advised;  carefully  considered;  not  sudden  or  rash.Not  hasty  or  sudden;  slow.”
  • 6. 17/06/13 Gdańskcode dojoDELIBERATE PRACTICE10 000Hours
  • 7. 17/06/13 Gdańskcode dojoDELIBERATE PRACTICEpractice must:be focussedbe goal-directedstretch your abilitiesgive continuous feedbackbe followed by self-reflection@sleepyfox
  • 8. 17/06/13 Gdańskcode dojoDREYFUS MODEL OF SKILL ACQUISITIONNoviceAdvanced beginnerProficientCompetentExpert
  • 9. flickr.com/kaibara/1449448184/型KAta
  • 10. 17/06/13 Gdańskcode dojo“FORM”
  • 11. CODE KATA17/06/13 Gdańskcode dojoDave ThomAs
  • 12. 17/06/13 Gdańskcode dojoCODE KATATime to improve skillsFocus on process, not resultsPracticeRepetitionTDD
  • 13. 17/06/13 Gdańskcode dojoCODE KATAuninterruptedchallengingNo PressureMistakes are goodSmall steps
  • 14. 17/06/13 Gdańskcode dojoKATA IDEASString CalculatorCode breakerArgument ParserBowling GameNumber NamesFizz Buzz
  • 15. 17/06/13 Gdańskcode dojoKATA IDEAShttp://codekata.pragprog.com/codekata/http://www.wiredtothemoon.com/2012/12/12-tdds-of-christmas/
  • 16. TEST DRIVENDEVELOPMENT17/06/13 Gdańskcode dojo
  • 17. 17/06/13 Gdańskcode dojoTDD CYCLEREDGREENREFACTOR
  • 18. 17/06/13 Gdańskcode dojo3 LAWS OF TDD1.Don’t write any code unless you aremaking a failing test pass2.Don’t add to the test more than enoughto get a failure3.Only write enough code to make the onefailing test pass
  • 19. 17/06/13 Gdańskcode dojo4 RULES OF SIMPLE DESING1.All the tests pass.2.Express every idea we need to express.3.Contains no duplication.4.minimize the number of classes,methods and other moving parts.
  • 20. PAIR PROGRAMMING17/06/13 Gdańskcode dojo
  • 21. 17/06/13 Gdańskcode dojoPAIR PROGRAMMINGNavigator&Observer
  • 22. 17/06/13 Gdańskcode dojoPAIR PROGRAMMINGKnowledge FlowReduction of defectsBetter designimproved disciplineBetter Time managementConfidence
  • 23. 17/06/13 Gdańskcode dojoTDD PING PONGFirst Person writes a testSecond writes an implementationboth refactorSecond Person writes next testIterate
  • 24. BE ORGANISED17/06/13 Gdańskcode dojo
  • 25. 17/06/13 Gdańskcode dojoCODE CLUBChoose your kataSet session time // 3*20 minutesPair programmingDelete code after each sessionSwap with Partner
  • 26. 17/06/13 Gdańskcode dojoCODE RETREATDay-Long session // 4*1 hourDiscuss what happenedProblem is more complexExample: Game-of-life
  • 27. 17/06/13 Gdańskcode dojoCODE DOJOChoose your kataONE ProjectorONE IDEONe PairSensei Guides the sessionLearn from the groupSwap every N-Minutes
  • 28. TOOLS MATTER17/06/13 Gdańskcode dojo
  • 29. 17/06/13 Gdańskcode dojoTOOLS MATTERLanguageIDETesting FrameworkMocking FrameworkRefactoring tools
  • 30. 17/06/13 Gdańskcode dojoTOOLS MATTERBUT CHALLENGE YOURSELFAND TRY SOMETHING NEW
  • 31. 17/06/13 Gdańskcode dojoKATA CONSTRAINTSMethod length limitNo MouseNo loopsNo If/else/switch statementsRefactor at least 3 timesNo state
  • 32. “Its not practice thatmakes it perfect. Itsperfect practice”17/06/13 Gdańskcode dojo
  • 33. 17/06/13 Gdańskcode dojoQuestions?
  • 34. 17/06/13 Gdańskcode dojoWE ARE HIRING!Software EngineerFront-end EngineerSoftware Engineer in testPRoject managerBusiness analystwww.sensiolabs.co.ukwww.inviqa.com
  • 35. THANK YOU!@cakper

×