Apply essential clean code principles, such as DRY, KISS, Law of Demeter, and SOLID in TypeScript. This course helps reinforce best practices through practical implementation and real-world examples.
Overview
Syllabus
- Unit 1: Applying Clean Code Principles: Understanding DRY in TypeScript
- Extracting Methods to Eliminate Duplication in TypeScript
- Applying DRY Principle with Constant Extraction in TypeScript
- Replace Temp with Query Refactoring Task
- Unit 2: Applying the KISS Principle in TypeScript
- Simplifying Order Cost Calculation Using KISS Principle
- Simplifying Leap Year Logic
- Simplifying Palindrome Checker with KISS Principle
- Unit 3: Applying Clean Code Principles: The Law of Demeter in TypeScript
- Refactoring Object Interactions with the Law of Demeter
- Refactoring Delivery System to Follow Law of Demeter
- Unit 4: Applying SOLID Principles in TypeScript
- Refactoring for Single Responsibility Principle in Typescript
- Refactor for Open Closed Principle Compliance
- Implementing Interface Segregation Principle in TypeScript
- Implementing Dependency Inversion Principle in Printer System