💸 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 code is better than another? 🤔
In this course, you will learn to objectively identify the aspects that make your code difficult to maintain, and most importantly, what processes to apply to improve it.
Much has been written about the techniques to move from incomprehensible code to clean code. This is what we will see in terms of refactoring techniques to transition from Code Smells to Clean Code 😊
In this course, we are going to see how to put it into practice step by step with examples in multiple programming languages 🤟
Achieve quality programs by applying good practices of refactoring and clean code 💪
Course Content
- 🚀 Clean Code and Refactorings: What will you learn in the course?
- ⚡️ How technical debt is generated: Moving from Code Smells to Clean Code through Refactorings
- 🤔 Death by technical debt: When to refactor (Evernote case)
- 🐍 Long Method Code Smell
- 🕵️ Long method: Detection, problems, and ideal state
- 🤹 Refactor Extract Method using the IDE and related problems
- 💿 Pretending to be purists: Contains traces of functional programming
- 📜 Large Class Code Smell
- 🕵️ Large Class: Detection, problems, and ideal state
- ✋ What Refactoring NOT to do: With great power comes great responsibility (unique)
- 🤝 Extract Class Refactoring: Encapsulating responsibilities
- 🐒 Primitive Obsession Code Smell
- 🕵️ When to use classes to represent data and when not
- 🧲 Replace Data Value with Object: Value Objects as magnets for logic in your models
- 🚸 Replace Type Code with State/Strategy Refactoring: Respecting SOLID in your domain models
- 📐 Long Parameter List Code Smell
- 🌈 Improving The Real World™️: Introduce Parameter Object. Refactoring for entities with more than 20 attributes
- ⚙️ How to manage application parameters: Replace Parameter with Method Call Refactoring
- 🤯 Preserve Whole Object Refactoring: Respecting ubiquitous language
- 🥖 Data Clumps Code Smell
- 🌍 Communication between layers: Introduce Parameter Object Refactoring for Request object
- 🎛️ How to manage infrastructure configuration
- 🔗 Complex Conditionals Code Smell
- 🔥 Simplifying indentation levels: Replace Nested Conditional with Guard Clauses Refactoring
- ⛓️ Simplifying indentation levels: Replace Control Flag with Break Refactoring
- 👨👧👧 Moving integrity rules with domain semantics to conditionals: Decompose Conditional & Consolidate Conditional Expression Refactoring
- 👻 Representing optional information: Introduce Null Object vs Maybe Monad
- 🌍 Practical examples for The Real World™️: Putting the pieces together!
- 👤 Refactoring The User Class™️: From 💩 to ☀️
- ✨ What happens when there are no classes: JavaScript, I'm looking at you
- 👀 Analyzing your examples
- 🔜 Conclusions and next steps
- ⚡️ 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 registration.
We have worked hard to prepare this course, so you can verify for yourself the quality of the videos and topics we will cover 😊