Articles

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