Refactoring Legacy Django App Using OOP

Refactoring Legacy Django App Using OOP

EuroPython Conference via YouTube Direct link

Refactoring improving the design af odsting code

2 of 22

2 of 22

Refactoring improving the design af odsting code

Class Central Classrooms beta

YouTube videos curated by Class Central.

Classroom Contents

Refactoring Legacy Django App Using OOP

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Refactoring improving the design af odsting code
  3. 3 Refactoring is a journey
  4. 4 No Refactoring
  5. 5 Big-Bang rewrite != refactoring
  6. 6 The best moment to refactor? Right before implementing a new feature
  7. 7 @staticmethod considered a code smell
  8. 8 how could this happen?
  9. 9 Essential complexity No way to escape - one needs to manage it
  10. 10 Writing classes != OOP
  11. 11 Cells creating an organism
  12. 12 Community members
  13. 13 Actors performing a play
  14. 14 Inheritance Composition Encapsulation Abstraction Polymorphism
  15. 15 Roles Responsibilities Collaborations
  16. 16 Where to put that code?
  17. 17 Role Stereotypes
  18. 18 Tell, Don't Ask
  19. 19 Information Holder model Structurer Service Provider Coordinator signal handler Controller Interfacer
  20. 20 1. Introduce Interfacers 2. Consolidate Controller role 3. Strip side effects off Information Holders
  21. 21 Heuristics not commandments
  22. 22 No long refactoring journeys Do it daily

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.