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
- Unit 1: Refactoring and Code Smells in Ruby
- Refactoring Beverage Cost Calculation
- Refactor Code for Calculating Total Bill
- Improve Readability and Maintainability of Match Results Code
- Refactor Code for Clarity and Descriptiveness
- Refactor and Calculate Discounted Product Prices
- Unit 2: Refactoring Techniques in Ruby
- Refactor Code to Use a Separate Discount Calculation Method
- Refactor Code by Splitting Functions in Ruby
- Improving Factorial Calculation with Math Module
- Refactoring Code for Item Pricing with Discounts and Taxes
- Refactoring Rectangle Property Calculations in Ruby
- Unit 3: Leveraging Object-Oriented Programming Principles in Ruby
- Encapsulate Book Details in a Ruby Class
- Temperature Conversion Refactoring Task
- Refactoring Notifications Using Polymorphism
- Refactor ShoppingCart using Composition in Ruby
- Refactor Code with Object-Oriented Principles in Ruby
- Unit 4: Code Decoupling and Modularization in Ruby
- Decoupling Employee Information into Separate Classes
- Separation of Concerns in Ruby: Refactoring the Book Class
- Separating Concerns in User Management System
- Unit 5: Stepping into Refactoring Code in Ruby
- Refactor a Monster Encounter Simulation Using OOP Principles in Ruby
- Refactor Adventure Damage Calculation Using OOP Principles
- Refactoring Adventure Score Calculation Using OOP in Ruby
- Refactoring Adventures with Object-Oriented Programming