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 in Kotlin.

Syllabus

  • Unit 1: Applying Clean Code Principles: Embracing DRY in Kotlin
    • Applying DRY Principle with Function Extraction in Kotlin
    • Extracting Constants to Apply the DRY Principle
    • Replace Temp with Query in Kotlin
  • Unit 2: Applying the KISS Principle in Kotlin
    • Simplifying Order Cost Calculation Using KISS Principle
    • Simplifying Leap Year Calculation
    • Simplifying String Manipulations: Palindrome Checker
  • Unit 3: Applying the Law of Demeter in Kotlin
    • Improving Object Interactions in a Library System
    • Refactoring Food Delivery Service to Follow the Law of Demeter
  • Unit 4: Applying SOLID Principles in Kotlin
    • Refactor Course Management System for Single Responsibility
    • Open/Closed Principle Refactoring Exercise
    • Refactoring Vehicle Interface Using Interface Segregation Principle
    • Implementing Dependency Inversion in Kotlin

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.