KEMBAR78
Software craftsmanship - 4 | PPTX
Software CraftsmanshipMeeting #4http://www.flickr.com/photos/renfield/17375998/in/set-388814/
Software Craftsmanship GroupSoftware Craftsmanship in Israel
http://www.linkedin.com/groups?gid=2578449Follow Here:http://www.irefactor.net
http://twitter.com/urilavi#SCIL
AgendaShort LecturesMentorship/ApprenticeshipStructure 101Effective Code ReviewUnit Testing Legacy CodeHands OnCoding Dojo
Mentorship / ApprenticeshipSoftware Craftsmanship as a medieval Craftsmanship evolves ApprenticeshipFor EffectiveApprenticeship a strong Mentor is required
Why Mentorship / Apprenticeship?Area of expertiseArchitecture & DesignCode Reviews & Code ReadingsExchange of InformationManagement Dilemmas
Mentorship / Apprenticeship ProgramAt least Four(4) months of commitmentBy a MentorBy a MenteeAt least Two(2) hours offrontal meeting during a week2*4*4 = 32H
How Mentorship / Apprenticeship?Mentors:List of MentorsCommunity BasedMentors & MenteesFeedback to Community
What’s there for me?Community BenefitPersonal BenefitOpens DoorsWhat goes around comes aroundAffects CareersCreates (Business) OpportunitiesDeeping the knowledge
Legacy Code + Unit TestsSlideshare.netWorking Effectively with Legacy Codehttp://www.slideshare.net/nashjain/working-effectively-with-legacy-code-presentation
Hands OnCoding Dojohttp://www.flickr.com/photos/renfield/351556388/in/photostream/
Bowling Kata
Scoring Bowling.The game consists of 10 frames as shown above.  In each frame the player hastwo opportunities to knock down 10 pins.  The score for the frame is the totalnumber of pins knocked down, plus bonuses for strikes and spares.A spare is when the player knocks down all 10 pins in two tries.  The bonus forthat frame is the number of pins knocked down by the next roll.  So in frame 3above, the score is 10 (the total number knocked down) plus a bonus of 5 (thenumber of pins knocked down on the next roll.)A strike is when the player knocks down all 10 pins on his first try.  The bonusfor that frame is the value of the next two balls rolled.In the tenth frame a player who rolls a spare or strike is allowed to roll the extraballs to complete the frame.  However no more than three balls can be rolled intenth frame.
The Requirements.Write a class named “Game” that has two methodsroll(pins : int) is called each time the player rolls a ball.  The argument is the number of pins knocked down.score() : int is called only at the very end of the game.  It returns the total score for that game.

Software craftsmanship - 4

Editor's Notes

  • #10 Affects career:Choosing>2 year “rule” – Stay longer in a company, but learn in a broader aspect