Articles

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