addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1linklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Crafting Object-Oriented code

In this London Software Craftsmanship Community coding session, developers will work in pairs to solve a given code kata.

BUT WAIT! There are rules. Developers will be presented with a set of rules they need to stick to, driving their design towards object-orientation and crafted code. TDD is mandatory. At the end, a couple of pairs will present their code and we will discuss what we learned. Bring a laptop with your favourite tools installed. Suitable for any Object-Oriented language.

Some of the rules will be based on, but not limited to, Jeff Bay's essay titled "Object Calisthenics". Jeff's rules are: 1. Use only one level of indentation per method. 2. Don’t use the else keyword. 3. Wrap all primitives and strings. 4. Use only one dot per line. 5. Don’t abbreviate. 6. Keep all entities small. 7. Don’t use any classes with more than two instance variables. 8. Use first-class collections. 9. Don’t use any getters/setters/properties.

This session is a great way for practising your OO skills and sharing knowledge with other developers. Don't forget to bring your laptop. If you don't have one, you may be able to pair with someone else.

NOTE: You also need to register with SkillsMatter at: http://skillsmatter.com/podcast/agile-testing/crafting-oo-code/js-2448

Join or login to comment.

  • Maciej T.

    Extremely interesting workshop. 2 hours spent on pair programming and later on discussing different approaches. Definitely worth attending!

    September 1, 2011

  • Mani

    Excellent one as it was my first one with the group. Learning the same thing again reinforces and clarifies the knowledge within.

    Seeing the organisors arranging dojos makes me think the group is upto some serious business.

    Thanks again to Sandro and David for a useful and effective evening.

    August 31, 2011

  • Alastair S.

    This was a fun hands-on session working to Jeff Bay's 9 rules of Object Calisthenics.

    August 31, 2011

  • A former member
    A former member

    Great!

    August 31, 2011

  • Mani

    I have done a similar session in Cambridge, and these rules are great, puts you in the spot and makes you think of new ways to express the same code! Good exercises for stubborn developer minds! ;)

    August 29, 2011

  • Yoosuf M.

    un fortunately i am unable to make it on tomorrow, but looking forward to attend in future

    August 29, 2011

  • Gonçalo S.

    In case someone is interested, I came across a pdf which explains "Object Calisthenics" in more detail:

    www.cs.helsinki.fi/u/luontola/tdd-2009/ext/ObjectCalisthenics.pdf

    1 · August 5, 2011

30 went

Our Sponsors

  • Codurance

    LSCC organisation

  • TIM Group

    Hosts and provides catering for our monthly Round-table meetings

  • Pivotal

    Hosts our monthly hands-on sessions

  • SkillsMatter

    Hosts our monthly talks

  • JetBrains

    Free licenses to raffle during our community events.

  • O'Reilly

    Books for review and 40% discount on printed books and 50% on e-books

  • Rewardli

    Special deals and perks for all LSCC members

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy