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

CodeSignal

Applying Clean Code Principles in C++

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: 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

Reviews

Start your review of Applying Clean Code Principles in C++

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.