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

Refactoring Legacy Applications

Refactoring Legacy Applications

Aaron Holbrook

June 10, 2017
Tweet

More Decks by Aaron Holbrook

Other Decks in Technology

Transcript

  1. Refactoring Legacy
    Applications
    aaronjholbrook
    aaronjholbrook.com
    no stock photography was harmed in the making of this deck

    View Slide

  2. View Slide

  3. View Slide

  4. View Slide

  5. View Slide

  6. View Slide

  7. View Slide

  8. View Slide

  9. Why Refactor?

    View Slide

  10. Things to be careful of
    Refactoring just to refactor (superficial or unnecessary)
    Taking on too much at once (spinning plates)
    Staleness (not shipping)
    Partial or incomplete refactor
    Not testing

    View Slide

  11. View Slide

  12. Why are YOU refactoring?

    View Slide

  13. Why I refactor

    View Slide

  14. Comprehension

    View Slide

  15. Maintainability

    View Slide

  16. Simplification

    View Slide

  17. Co n s i s t e n c y

    View Slide

  18. Test
    Debug
    Take it slow
    Simplify
    Strategies & Techniques

    View Slide

  19. File length
    File naming
    File and directory organization
    Namespace
    Strategies & Techniques

    View Slide

  20. Decouple
    Single Responsibility
    Exit Early / Exit Often
    Abstract complexity
    Strategies & Techniques

    View Slide

  21. View Slide

  22. View Slide

  23. aaronjholbrook
    aaronjholbrook.com
    Aaron Holbrook
    Director of Web Engineering
    Zeek Interactive

    View Slide