Apply essential clean code principles, such as DRY, KISS, Law of Demeter, and SOLID. This course helps reinforce best practices through practical implementation and real-world examples.
Overview
Syllabus
- Unit 1: Applying the DRY Principle in C++
- Applying the DRY Principle to Calculate Average Scores
- Variable Extraction and DRY Principle with Circle Calculations in C++
- Refactor Customer Eligibility Checks Using Query Methods
- Unit 2: Applying the KISS Principle for Simplicity in Code Design
- Applying the KISS Principle in C++ Code Simplification
- Simplify Leap Year Logic According to KISS Principle
- Simplifying Palindrome Checker with KISS Principle
- Unit 3: Applying the Law of Demeter in Clean Code Development
- Improving Object Interactions with the Law of Demeter
- Law of Demeter Refactoring for Food Delivery Service
- Unit 4: Applying SOLID Principles in C++
- Refactoring for Single Responsibility Principle in C++
- Open/Closed Principle Product Pricing Refactor
- Implementing Liskov Substitution Principle with Vehicle Classes
- Implementing Interface Segregation in Vehicle Design
- Implementing the Dependency Inversion Principle in a Printer System