Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Technical Debt - #phpbnl16

Technical Debt - #phpbnl16

Technical debt is, in a way, just like financial debt. We'll take a look at how it influences, even stifles, every aspect of our work, from the decision which features we develop, to extra planning efforts, to the actual development of new features taking extra time – and we'll see how to get rid of technical debt in the long run.

These are the slides for my talk about Technical Debt at PHPBenelux 2016. This slidedeck is licensed under CC-BY-SA 3.0.

Image credits:
"Paperwork": Camilo Rueda López (flickr) - CC-BY-SA 2.0
"Budget": TaxCredits.net (flickr) - CC-BY 2.0
"Snowball": ff137 (flickr) - CC-BY 2.0
"Cleaning Supplies": Chiot's Run (flickr) - CC-BY-NC 2.0
"Scout Jamboree Memorial Sculpture": Gnangarra (Wikipedia) - CC-BY 2.5
"Be Bold": Wapcaplet, Oile11 (Wikipedia) - CC-BY-SA 3.0
"Scattered puzzle pieces": Horia Varlan (flickr) - CC-BY 2.0
"Assembly knolling": Brian Boucheron (flickr) - CC-BY 2.0
"Value": GotCredit.com (flickr) - CC-BY 2.0
"Good Debt": GotCredit.com (flickr) - CC-BY 2.0
"Rainbow of Credit": frankieleon (flickr) - CC-BY 2.0

Tobias Gies

January 29, 2016
Tweet

More Decks by Tobias Gies

Other Decks in Programming

Transcript

  1. TECHNICAL DEBT
    Why it's crippling you
    and what to do

    View Slide

  2. Technical Debt is aptly named

    View Slide

  3. Excursion:

    View Slide

  4. View Slide

  5. Small things
    can cause a snowball effect

    View Slide

  6. Result:

    View Slide

  7. New code must be clean
    „Any fool can write code that a computer can
    understand. Good programmers write code that
    humans can understand.“
    – Martin Fowler

    View Slide

  8. Old code must be improved
    "Always leave the campground cleaner than you
    found it."
    – Boy Scout rule

    View Slide

  9. View Slide

  10. Break apart large functions

    View Slide

  11. Separate concerns

    View Slide

  12. Value Objects

    View Slide

  13. More improvements

    Object Calisthenics

    Fowler: Refactoring

    View Slide

  14. Does it exist?

    View Slide

  15. „Ehh, I'll just hack this“

    View Slide

  16. View Slide

  17. Thanks!
    Tobias Gies
    Email: [email protected]
    Twitter: @tobiasgies
    Rate this talk: https://joind.in/16942

    View Slide