Articles

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