Clean&Reactoring
Lessons are ordered. Start at the top and work your way down, one lesson at a time.
22 lessons 2 topics
Browse topics (2)
Entry
12 lessons- 1 Why Readability is Not a Luxury
- 2 What is Invariants?
- 3 The Danger of Non-Local Invariants : A Case Study
- 4 Composition vs. Inheritance in C#: A Guide to Flexible Design
- 5 The Art of Decomposition: Mastering the "One Thing" Rule and Defeating Long Methods
- 6 Single Level of Abstraction Principle
- 7 The Name is the Documentation: 3 Rules for Naming Functions
- 8 if Statements Should Stand Alone
- 9 Strategies to Eliminate If-Else Chains in C#
- 10 refactoring with interfaces ( if-else )
- 11 Fuse similar code together
- 12 Defending the Data
Clean Code
10 lessons- 13 Cohesion vs. Coupling
- 14 the Law of Demeter
- 15 Understanding the Difference Between OOP and FP in C#
- 16 Why Functional Programming Concepts Lead to Cleaner C# Code
- 17 C# + FP: Writing Cleaner Methods with Functional Concepts
- 18 Open/Closed Principle (OCP) in C#: Flexible Exception Handling
- 19 Handling AggregateException in TPL
- 20 Custom Exceptions in C#: When and How to Use Them
- 21 Writing Cleaner C# with Guard Clauses
- 22 Null Object Pattern: Cleaner Business Logic in C#