The Singleton Pattern – Revised
While in a previous post it is explained how the singleton pattern can be implemented using double checked locking or a static constructor, .NET 4.0 provides a dedicated class Lazy<T>...
Craft 2014 Budapest – Short Summary
The Craft 2014 conference has just finished on Friday. It was a really great event with well known and professional speakers. Among the presenters you could find Douglas Crockford, Bruce...
A pragmatic coding excercise for C# developer’s job interview
Job interview questions are efficient when testing the theoretical knowledge of a developer however good answers do not necessarily indicate solid practical skills. If you cannot afford long interviews with...
The Singleton Pattern – Design Patterns II.
The Singleton pattern is one of the most well-known and probably the most often used design pattern. It is used to enforce that only a single instance of a class...
The Visitor Pattern – Design Patterns I.
It is a common problem that a feature involves of processing elements of a class hierarchy based on their exact type. Using virtual functions is a plausible solution but can...