Articles

1 Nondestructive Mutation and Records in C# View
2 Understanding Covariance and Contravariance of Generic Types in C# View
3 Using Record Types in C# View
4 Unit Testing Case Study: Calculating Median View
5 The Fast Pencil Fallacy in Software Development View
6 Favoring Object-oriented over Procedural Code: A Motivational Example View
7 From Dispose Pattern to Auto-disposable Objects in .NET View
8 What Makes Functional and Object-oriented Programming Equal View
9 Overcoming the Limitations of Constructors View
10 Does the Command Pattern Require Undo? View
11 What Makes while Loop a Poor Choice in Programming View
12 How to Wrap System.Random Into an Infinite IEnumerable<int> Sequence View
13 Substituting the Builder with the Sequence of Factory Methods View
14 Custom Implementation of the Option/Maybe Type in C# View
15 Pros and Cons of Multiple Constructors View
16 Defensive Design: An Experiment View
17 Understanding Closures in C# View
18 Understanding Delegates and Higher-Order Functions in C# View
19 How to Derive a Class and Not Invite Bugs Doing So View
20 Simple Design by Example: Making Published Content Editable View
21 The Case against Throwing ArgumentException and the Like View
22 How to Write Unit Tests for Generic Classes View
23 How to Write Unit Tests for Temporal Coupling between Method Calls View
24 How to Organize Repository Interfaces to Support CQRS Architecture View
25 How to Write a Test to Prove that Collection was Loaded Eagerly? View
26 How to Avoid the Need to Implement ICloneable Interface and What to Do Instead View
27 Poor Man’s Polymorphism or What’s so Wrong about If-Then-Else? View
28 Advances in Applying the Builder Design Pattern View
29 Best Practices Implementing the IEnumerable Interface View
30 What Makes Design Patterns Fail So Many Times? View
31 How to Implement Lazy Default-If-Empty Functionality on Collections View
32 Interface Segregation Principle and Calling Protocols View
33 LINQ Query for Blacklist-Based Spam Filter View
34 Understanding the Option (Maybe) Functional Type View
35 Why do We Need Guard Clauses? View
36 How to Measure Module Coupling and Instability Using NDepend View
37 How to Use Module Coupling and Instability Metrics to Guide Refactoring View
38 LINQ Expression to Find All Modes of an Array View
39 LINQ Expression to Find Mode of an Array View
40 How to Measure Abstractness of Modules Using NDepend and CQLinq View
41 How to Reduce Cyclomatic Complexity Part 15: Guard Clause View
42 How to Reduce Cyclomatic Complexity Part 14: Service Locator Applied View
43 How to Reduce Cyclomatic Complexity Part 13: Service Locator Pros and Cons View
44 How to Reduce Cyclomatic Complexity Part 12: Composite Design Pattern View
45 How to Reduce Cyclomatic Complexity Part 11: Working With Collections View
46 How to Reduce Cyclomatic Complexity Part 10: Domain Logic in Factories View
47 How to Reduce Cyclomatic Complexity Part 9: Switchable Factory Methods View
48 How to Reduce Cyclomatic Complexity Part 8: Map-Reduce Queries View
49 How to Reduce Cyclomatic Complexity Part 7: Extension Methods View
50 How to Reduce Cyclomatic Complexity Part 6: Functional Domain Logic View
51 How to Reduce Cyclomatic Complexity Part 5: Option<T> Functional Type View
52 How to Reduce Cyclomatic Complexity Part 4: Avoiding Null Parameters View
53 How to Reduce Cyclomatic Complexity Part 3: Avoiding Optional Parameters View
54 How to Reduce Cyclomatic Complexity Part 2: Special Case Pattern View
55 How to Reduce Cyclomatic Complexity Part 1: Null Object Pattern View
56 Regex and LINQ Query to Split Text into Distinct Words View
57 Design Technique to Reduce Number of Generic Parameters View
58 LINQ Expression to Find All Prime Numbers View
59 LINQ Expression to Test If a Number is Prime View
60 How to Write Functional Code in C#: An Example View
61 How to Avoid Returning Null from a Method View
62 Cascading Abstract Factories to Eliminate Dependencies View
63 Object Composition Using Chain of Responsibility Design Pattern View
64 How to Easily Test Validation Logic in Constructors in C# View
65 How to Apply Visitor Pattern Without Breaking Encapsulation of Concrete Elements View
66 How to Ensure Internal Consistency of Mutable and Immutable Objects View
67 How to Implement Unit Tests for Equals and GetHashCode Methods View
68 Best Practices Using Enums in .NET View
69 How to Validate Enumeration Values in Property Setters View
70 How to Set Property Values using LINQ to Objects and Reflection View
71 How to Set Property Value using Reflection on a Value Type View
72 How to Get Property Values using LINQ to Objects View
73 How to Implement IComparable<T> Interface in Base and Derived Classes View
74 The ICloneable Controversy: Should a Class Implement ICloneable or Not? View
75 How to Validate String Properties in Business Objects View
76 How to Override Equals and GetHashCode Methods in Base and Derived Classes View
77 How to Bulk Insert Complex Objects into SQL Server Database View
78 How to Implement Collection Property to Contain Unique Objects View
79 How to Version SQL Server Database Schema View
80 Lesson 6 - Multiple Inheritance View
81 Lesson 5 - Abstract Methods View
82 How to Handle Exceptions from Background Worker Thread in .NET View
83 Lesson 4 - Polymorphism View
84 Lesson 3 - Encapsulation View
85 Lesson 2 - Class Inheritance View
86 Lesson 1 - From Structure to Class View
87 How to Display Row Numbers in WPF ListView Control with Static Content View
88 How to Show Progress and to Cancel Asynchronous Operation Using WPF ObjectDataProvider and XAML View
89 How to Implement ICloneable Interface in Derivable Classes in .NET View

About

Zoran Horvat

Zoran Horvat is the Principal Consultant at Coding Helmet, speaker and author of 100+ articles, and independent trainer on .NET technology stack. He can often be found speaking at conferences and user groups, promoting object-oriented and functional development style and clean coding practices and techniques that improve longevity of complex business applications.

  1. Pluralsight
  2. Udemy
  3. Twitter
  4. YouTube
  5. LinkedIn
  6. GitHub