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 Rust

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 Clean Code Principles in Rust: Understanding and Implementing the DRY Principle
    • Applying the DRY Principle with Function Extraction in Rust
    • Refactor Circle Calculations with a Constant PI
    • Replace Temp Variables with Query Functions in Rust
  • Unit 2: Applying Clean Code Principles in Rust: Understanding the KISS Principle
    • Refactoring for Simplicity Using KISS Principle in Rust
    • Simplifying Leap Year Calculation in Rust
    • Simplifying Palindrome Checker in Rust
  • Unit 3: Applying Clean Code Principles in Rust: Reducing Dependencies with Ownership and Borrowing
    • Reducing Dependencies with Ownership and Borrowing in a Notification System
    • Refactoring a Job Processing System with Ownership and Encapsulation in Rust
  • Unit 4: Applying Clean Code Principles in Rust: Understanding and Implementing SOLID Principles
    • Refactoring for Single Responsibility Principle in Rust
    • Implementing the Open/Closed Principle in Rust for Product Price Calculation
    • Refactoring for Interface Segregation with Traits in Rust
    • Implementing Dependency Inversion Principle in Rust

Reviews

Start your review of Applying Clean Code Principles in Rust

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.