Code Dojo
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Code Dojo

on

  • 2,230 views

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

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

Statistics

Views

Total Views
2,230
Views on SlideShare
1,907
Embed Views
323

Actions

Likes
7
Downloads
10
Comments
0

4 Embeds 323

http://www.sensiolabs.co.uk 292
https://twitter.com 28
http://www.linkedin.com 2
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Code Dojo Presentation 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