Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Applying Clean Code Principles

via CodeSignal

Overview

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.

Syllabus

  • Unit 1: Understanding and Implementing the DRY Principle in C#
    • Refactor Code to Use the DRY Principle by Extracting Methods
    • Variable Extraction for PI in Circle Calculations
    • Replace Temp with Query Refactoring Exercise
  • Unit 2: Applying Clean Code Principles: Keeping It Simple, Stupid
    • Applying KISS Principle to Simplify Order Cost Calculation Code
    • Simplifying Leap Year Logic
    • Refactoring Palindrome Checker to Apply KISS Principle
  • Unit 3: Applying the Law of Demeter in C#: Creating Maintainable and Modular Code
    • Refactoring for the Law of Demeter in a Library System
    • Refactoring a Food Delivery Service System to Follow the Law of Demeter
  • Unit 4: Applying SOLID Principles in C#
    • Refactoring with Single Responsibility Principle in a University System
    • Refactoring for the Open/Closed Principle
    • Implementing Interface Segregation Principle in C#
    • Implementing Dependency Inversion in a Printer System

Reviews

Start your review of Applying Clean Code Principles

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.