AGILE IN ACTION

Saturday, 30 August 2008

Well-factored code

Posted by Gus Power

We recently held a code review for a system we’ll be working with intensely over the coming months. Like car parking spaces, desk moves, checkout queues and methodologies, code reviews are one of those things that tend to make normal, sane, rational people turn feral. It was important that the right tone be set so that everyone involved could engage constructively and with respect. In order to create a common understanding of what we were trying to achieve we kicked off with a discussion about what ‘well-factored’ code really meant, attempting to eliminate some of the subjectivity that typically surrounds this topic (checkout some of the discussion on the c2 wiki!). I threw together this mind map to give us something to use as a starting point:

Well-factored code

I’m pleased to say that the team reached consensus on the next steps to move forward after weighing up the cost and risk of the various options that the review produced and are now busy building out a backlog with their product owner for the work identified. Amusingly, when I arrived home that day there was a new copy of Uncle Bob’s Clean Code on the sofa which O had just purchased.

3 Comments

Thanks.

Comment by Muthu

Have you read the book Clean Code? I am interested in your review about the book. Can you please let me know?

Comment by Muthu

Hi muthu,
I've only got thru the forward and the first couple of chapters but it's been enjoyable so far. Will post about it when I hit the back cover,

Comment by Gus Power

Creative Commons Licence

Recent Posts

  1. Organization complexity is a waste farm
  2. Managing costs provides a false sense of security
  3. State of Agile survey for 2011 tells a familiar story
  4. (I can't get no) satisfaction, let alone customer delight
  5. Positive emotions and purpose
  6. People don't buy what you do, they buy why you do it
  7. Too busy chopping wood to sharpen the axe
  8. So you want a fresh apple
  9. Systems are seductive
  10. Crack cocaine problem-solving and complexity

Archives

  1. 2012 (5)
  2. 2011 (24)
  3. 2010 (31)
  4. 2009 (41)
  5. 2008 (69)
    1. December (4)
    2. November (11)
    3. October (4)
    4. September (5)
    5. August (19)
      1. Run in to showcase
      2. Well-factored code
      3. WTFs per minute
      4. Planning game is getting too serious
      5. Our values determine our personal discipline, focus and increase our abililty to succeed
      6. Welcome to Agile Skywalker
      7. Craftsmanship and Artful Making
      8. Energizers in Toronto
      9. The natural laws of software development
      10. Be honest about what you are then start climbing
      11. Stuff I'm living now
      12. Converting business value into actual money
      13. A 'nut it out' norm
      14. Lack of humble pie leaves bitter aftertaste
      15. Discovering what business value is and what to do about it
      16. Show me the running tested features
      17. James Surowiecki on The Wisdom of Crowds
      18. Conference junk
      19. Marketing should be held accountable
    6. July (2)
    7. June (2)
    8. May (7)
    9. April (5)
    10. March (1)
    11. February (5)
    12. January (4)
  6. 2007 (152)
  7. 2006 (128)
  8. 2005 (63)
  9. 2004 (2)

Tags

agile (43) big visible chart (15) conference (39) culture (18) extreme programming (21) leadership (18) lean (47) people (26) planning (17) retrospective (18) scrum (41) story (18) team (30) testing (18) xpday (19)