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 in Go (GoLang). This course helps reinforce best practices through practical implementation and real-world examples.

Syllabus

  • Unit 1: Applying Clean Code Principles: DRY with Go
    • Refactor Repeated Logic to Use a Helper Function
    • Variable Extraction and DRY Principle in Go
    • Replace Temporary Variables with Query Methods in Go
  • Unit 2: Applying Clean Code Principles: KISS with Go
    • Applying the KISS Principle to Simplify Code in Go
    • Simplify Leap Year Calculation Using KISS Principle
    • Simplifying a Palindrome Checker in Go
  • Unit 3: Applying Clean Code Principles: Reducing Interdependencies with Go
    • Refactor Code to Follow the Law of Demeter
    • Refactor Code to Adhere to Law of Demeter in a Food Delivery System
  • Unit 4: Applying SOLID Principles with Go
    • Refactor Course Management to Follow Single Responsibility Principle
    • Refactoring for Open/Closed Principle in Go
    • Refactoring Interfaces for Better Vehicle Functionality
    • Dependency Inversion Principle with Printers in Go

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.