Singleton Pattern in C#

Implementing the Gang of Four Singleton Pattern in Microsoft’s C# .NET language is nearly identical to its Java implementation. The Singleton Pattern (as definied by the Gang of Four in 1995) is to “ensure a class only has one instance, and provide a global point of access to it.” The idea behind the Singleton pattern …

Singleton Pattern in Java

Implementing a Singleton Class Pattern in Java is a common and easy task. The Singleton Pattern (as definied by the Gang of Four in 1995) is to “ensure a class only has one instance, and provide a global point of access to it.” The idea behind the Singleton pattern is that there can only be …

May 8, 2008: Beginning My Programming Project

I had to play catch-up with the SGL posts today. I was running a little bit behind. I didn’t have a chance to even open the editor yesterday and May 5th was still sitting in my “drafts”. But I got caught up. Now that my huge Red Hat exam project is over I am able …

May 7, 2008: Work, Work and More….

Work. Today I have a Hewlett-Packard “show” in Tribeca at lunchtime running all afternoon so I decided, rather than going to downtown and then having to cross town to the show that I would just work from home until the show. It saves almost an hour of total travel time as getting to Tribeca is …