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

Amanda Sopkin - The Refactoring Balance Beam: W...

Amanda Sopkin - The Refactoring Balance Beam: When to Make Changes and When to Leave it Alone

Many developers struggle to find the balance between striving to improve existing code and letting good enough alone by accepting certain shortcomings. As a new developer to a team it can be difficult to understand existing strategies and patterns that are sometimes flat out bad (and often openly acknowledged as such). Often the result of tight deadlines or unclear specifications, even the best developers write code they later look back upon with shudders. So how do we decide when refactoring is worth it? Come learn strategies for refactoring with minimal impact, methods for working with bad code you can’t change, and strategies for knowing the difference between what is fixable and what is better left alone.

https://us.pycon.org/2019/schedule/presentation/213/

PyCon 2019

May 05, 2019
Tweet

More Decks by PyCon 2019

Other Decks in Programming

Transcript

  1. Sources Flat Icon: https://www.flaticon.com/ Refactoring Python by Brett Slatkin: https://www.youtube.com/watch?v=D_6ybDcU5gc

    Real Python: https://realpython.com/python-refactoring/ Pep 20: https://www.python.org/dev/peps/pep-0020/ Beyond Pep 8 by Raymond Hettinger: https://www.youtube.com/watch?v=wf-BqAjZb8M Refactoring by Martin Fowler: https://www.csie.ntu.edu.tw/~r95004/Refactoring_improving_the_design_of_existing_code.pdf