Tag: design
All the articles with the tag "design".
-
Improvements and Implementations of the Singleton Pattern
How the default singleton pattern becomes an anti-pattern at times and how we can improve on its flaws in different ways to create ambient services in your code
-
How to Create a Fluent API in C#
A introductory post talking about fluent apis, its pros and cons and how to design one for yourself from scratch
-
How to create a custom C# Attribute to Inject Extra Behavior in Tests
How I made a custom attribute to decorate my usual tests with extra behavior for tests written using the MS Test Framework