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-ribbonShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Hands-on session: Brutal Refactoring

Following on after the "Refactoring Legacy Code” session in Februrary, we will take it to the next level with the Brutal Refactoring Game!

The rules are simple: you'll work on a problem in pairs, with facilitators floating around the room. If any of them smell some dodgy code, they'll point it out. You then have to fix the problem immediately, without adding any new behaviour until the smell has drifted away.

Simple, but not easy.

Bring your laptops, development environments and test frameworks. This session is adequate for both beginners and experts.

Join or login to comment.

  • John C.

    As a lot of Primitive Obsession (8) cropped up, I think this blog is worth posting: http://darrenhobbs.com/2007/04/11/tiny-types/

    5 · March 25, 2014

    • Samir T.

      Typedefs don't tell the compiler to treat them differently, though, just the programmer.

      1 · March 26, 2014

    • Bruno M.

      Duh, you're entirely right.. I was confusing languages here (D's typedef did something like that). But indeed C's typedef work like aliases (and therefore don't really define a new type, from a type-safety perspective)

      March 29, 2014

  • Ann W.

    Hoping that both the refactoring sessions will be run again soon. Really disappointed to have not managed to make either of them. Really need this practice.

    1 · March 25, 2014

    • nigel s.

      I'm sure quite a lot of us would love to do that as well

      March 25, 2014

    • Samir T.

      We gotta get some pair programming matchmaking at some point. Anyone up for building it?

      1 · March 25, 2014

  • Samir T.

    My slides are up here, complete with the 17 rules: http://slid.es/samirtalwar/the-brutal-refactoring-game

    1 · March 25, 2014

  • Matteo B.

    Loved the conversations about Primitive Obsession (8). When does the Primitive Obession become itself an Obsession? Thanks Mashooq for the insight!

    March 25, 2014

  • David H.

    Lots of fun, would love to try again and take a different approach

    March 25, 2014

  • A former member
    A former member

    Brutal refactoring was brutal! Loved it though ;)

    March 25, 2014

  • nigel s.

    Myself and my partner in crime Mateo spent an interesting evening oscillating between 6s and 8s. Eventually we were brutal enough to continue. Interesting and fun. Thanks Mateo

    March 24, 2014

    • nigel s.

      Yep, hope they run another. Maybe we can do ruby next time? Will post our code later today

      March 25, 2014

    • A former member
      A former member

      +1 for Ruby :)

      March 25, 2014

  • Hetal P.

    Really enjoyed the session. Hats off to the organiser's

    2 · March 25, 2014

  • Sylvester A.

    Thanks everyone specially to the organizers. Learned a lot. Unfortunately, can't make to this morning code and coffee session. But I'll make sure I'm there next time.
    Thanks everyone.

    March 25, 2014

  • Martin

    Tough but good. Learned loads.

    3 · March 24, 2014

  • nigel s.

    Oh and thanks to the post-it note "police" :) for all there efforts as well

    March 24, 2014

  • Matt G.

    Fantastic session, learnt & shared loads. Dream of being 'allowed' doing this fulltime. Special thank you to my pair partner for his patience & sharing

    1 · March 24, 2014

  • David H.

    would love to attend.. just need 35 people to drop out.. :(

    March 23, 2014

    • Samir T.

      I'd love to host it more than once, David. Hopefully we can in a few months.

      2 · March 23, 2014

    • John C.

      Looks like just that has happened, David.

      March 24, 2014

  • nigel s.

    so just IDE and a unit test framework

    March 24, 2014

  • nigel s.

    will we have to pick up any code examples from GitHub etc

    March 24, 2014

    • Samir T.

      No, you'll start with a clean slate. Make sure you have your development environment set up, that's all.

      March 24, 2014

  • Bruno M.

    Looks like an interesting event, I'm curious about other programmers approaches to refactoring... If there is a repeat in the future, I will try to attend.

    March 24, 2014

  • Franklin N.

    I love clean code !

    March 24, 2014

  • Rui M.

    Unfortunately I won't be able to attend tonight.
    I have changed my rsvp to free my place.
    Have fun tonight!

    March 24, 2014

  • Angus C.

    What language?

    March 23, 2014

  • Franklin N.

    I love clean code !

    March 23, 2014

  • Sylvester A.

    Hi everyone,

    Can I please have more info about this 'Hands-on session'?

    Thanks

    March 19, 2014

    • Samir T.

      I've added more information to the event description.

      March 19, 2014

    • Sylvester A.

      Thanks Samir

      March 20, 2014

  • Ioannis M.

    Better yet, we should do it like chess boxing. Pummel each other for a couple of minutes, quick round of refactoring, then pummel again ;-) Truly Brutal Refactoring ;-)

    March 19, 2014

  • Ioannis M.

    Is this gonna be like Fight Club for refactoring? Do I need to bring my medkit? <grin>

    1 · March 19, 2014

  • Paul B.

    NokiaX Londroid meetup that night :-(

    March 19, 2014

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