Delve deep into the world of refactoring, where you'll learn the theory and application of transforming code into a cleaner, more efficient version while retaining its functionality. This course is perfect for developers looking to enhance their code maintenance and performance skills through practical refactoring techniques.
Overview
Syllabus
- Lesson 1: Understanding Code Smells: Identifying the Need for Refactoring in Your Code
- Refactor Beverage Cost Calculation
- Refactor a Convoluted Billing System
- Improve Readability and Maintainability of Match Results Printer
- Refactor Code with Descriptive Naming
- Refactor Code to Eliminate Duplicate Code Smell
- Lesson 2: Refactoring Essentials: Extract, Rename, and Substitute Techniques
- Refactor Discount Calculation by Extracting Method
- Refactoring Distance Calculation and Printing Distance from Origin
- Refactor Factorial Calculation
- Refactor Bulk Purchase Summary Calculation
- Refactor Rectangle Properties Calculation
- Lesson 3: Leveraging Object-Oriented Programming Principles for Code Refactoring in JavaScript
- Encapsulating Book Information into a Class
- Temperature Converter Refactoring Task
- Refactor Notifications to Use Polymorphism
- Refactoring the Shopping Cart with Composition
- Refactoring User Management System Using OOP Principles
- Lesson 4: Code Decoupling and Modularization in JavaScript
- Decouple Employee Class into Modular Components
- Creating and Managing Book Information with Separation of Concerns
- Refactor User Management System to Separate Concerns
- Lesson 5: Stepping into Refactoring Code
- Refactor Adventure Journey to Object-Oriented Design
- Refactor Adventure Score Calculation Using OOP Principles
- Refactoring Challenges with Object-Oriented Programming