design-patern

JavaScript Object Creation Patterns

Redirects to legacy blog post. What are the differences in creating an object by way of simple function invocation, vs using a constructor vs creating an object using the object literal notation vs function application?

A Handful of Singletons in C Sharp

Redirects to legacy blog post. Recently I was involved in an interview where I was queried on the Singleton Creational design pattern. I thought I’d share what I came up with. In order of preference from most to least used.

Discussion on Class Construction Techniques

Redirects to legacy blog post. I had a discussion with some work colleges a short while ago, around a couple of different techniques of constructing a class object. The two approaches involved in the discussion where...