Course of Refactoring Code Smells to Clean Code: Change Preventers

Javier FerrerRafa GómezDani Santamaria

By Javier Ferrer, Rafa Gómez y Dani Santamaria Software Design and Architecture y Methodologies and good practices

Learn to detect and deal with code that generates resistance to change. A course focused on Code Smells of the Change Preventers type.

💸 First lesson available without registration 💸

What you will learn in this Refactoring and Clean Code course

Is code quality something measurable? How can we decide if one piece of code is better than another? 🤔

In this course, you will learn to objectively identify aspects that make your code hard to maintain, and most importantly, what processes to apply to improve it.

Much has been written about the techniques to go from incomprehensible code to clean code. This is what we will see in terms of Refactoring techniques to transform Code Smells into Clean Code 😊

In this course, we will see how to implement it step by step with examples in multiple programming languages 🤟

Achieve quality programs by applying good practices of refactoring and clean code 💪

Course Content

  1. 🚀 Change Preventers… What will you learn in the course?
    • What are Change Preventers Code Smells?
    • Why the S in SOLID is not understood
  2. ↕️ Divergent Change Code Smell: From spaghetti to readable code
    • 🕵️ Divergent Change: Detection, problems, and initial state
    • 🌱 Split Phase Refactoring: Separate parsing phase
    • 🌾 Split Phase Refactoring: Separate serialization phase
    • 🤝 Extract Class Refactoring: Harness the potential of composition and polymorphism in each phase
  3. 🤔 Real World Learnings about Divergent Change
    • 🔝 Top 6 mistakes that lead to Divergent Change
    • 🔫 CRUD Applications: Solving Divergent Change leads us to Shotgun Surgery Code Smell
  4. 🔫 Shotgun Surgery Code Smell
    • 🧐 Shotgun Surgery: Detection, problems and initial state
    • ✋ What Refactoring NOT to do (most of the time)
    • 🤲 Add cohesion: Move Method, Move Field, Move Constant
  5. 🤔 Real World Learnings about Shotgun Surgery
    • 🔝 Top 5 mistakes that lead to Shotgun Surgery
    • 🚥 Preventing lack of cohesion
  6. 🥓 Parallel Inheritance Hierarchies Code Smell
    • 🕵️ Problems with code inheritance
    • 🔀 How to eliminate harmful inheritance
  7. 🔜 Conclusions and next steps
    • 🦄 What happens if there are no types
    • ⚡️ Conclusions and next steps

Free Content

In the "Preview" section above, you can access the course index and watch the first 2 videos completely free and without registering.

We have worked hard to prepare this course, so you can check the quality of the videos and topics we will cover yourself 😊

Videos of the course

Related courses

See full catalogue

Pay according to your needs

lite (only monthly)

19 €
per month
  • Access to a subset of courses to lay the foundation for maintainable, scalable, and testable code
  • Company invoice
Popular

standard

24,92 €
Save 121
Annual payment of 299
per month
  • Full course catalog
  • Design and architecture challenges
  • Highlighted solutions videos for challenges
  • Receive job offers verified by Codely
  • Company invoice

premium

41,58 €
Save 89
Annual payment of 499
per month
  • Everything above
  • More benefits coming soon

We won’t increase the price while your subscription is active