$30 off During Our Annual Pro Sale. View Details »

Software Hygiene

James Cooke
November 19, 2015

Software Hygiene

What if your software project was like a commercial kitchen?

James Cooke

November 19, 2015
Tweet

More Decks by James Cooke

Other Decks in Programming

Transcript

  1. Software Hygiene

    View Slide

  2. Commercial kitchen

    View Slide

  3. Commercial Kitchen
    Kitchen Work Cycle:

    Start

    Prep

    Open

    Service

    Close

    Clean down

    End

    View Slide

  4. Definition of Done
    Happiness, efficiency, safety,
    quality?

    View Slide

  5. What if your software project was like a kitchen?
    Kitchen Work Cycle:

    Start

    Prep

    Open

    Service

    Close

    Clean down

    End
    Project Work Cycle:

    Start

    Planning

    Open

    Develop & Release

    Close

    Refactor

    End
    Mess?

    View Slide

  6. At end of Service / Release

    Head Chef:
    – “Boss, we've delivered all our covers”
    – “We now need to clean our kitchen...”
    – “… before next service.”

    Tech Lead:
    – “Boss, we've delivered all our features”
    – “We now need to clean our code…”
    – “… before next release.”
    Visibility of mess?
    Short term solutions?

    View Slide

  7. How can we be more Measurable?

    Use static analysis?

    Count bugs / failures.

    Count yak holes.
    https://github.com/jamescooke/measurable-software

    View Slide

  8. Benefits?

    Refactor becomes valuable.

    Risk as a result of environment decreased.

    Potential to measure “tech debt”?

    “Definition of done” improves.

    View Slide

  9. Image credits

    http://www.manchestereveningnews.co.uk/whats-on/wagamam
    a-launch-new-menu-open-10232237

    http://cheesenbiscuits.blogspot.co.uk/2013/01/the-kitchen-table
    -at-bubbledogs.html

    http://www.bakersfieldnow.com/news/local/Dirty--202036471.htm
    l

    View Slide