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 …
Author Archives: Scott Alan Miller
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 …
Continue reading “May 8, 2008: Beginning My Programming Project”
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 …
May 6, 2008: Boring Week
I have been incredibly busy lately and have been having a really difficult time keeping up with SGL as often as I would like or, more accurately, as thoroughly as I would like. Today was a nice doggy-daddy day. The weather was very nice and Oreo demanded that we take a long walk in Military …