Theo's Musings

A conglomeration of random thoughts on C#, VB, .NET, OOP, and working at Microsoft

May, 2004

  • Theo's Musings

    More Singleton

    Ok, so I lied: I'm not moving on to unions quite yet. Cyrus brought up a great point on the last post about .NET serialization, as well as the lack of thread safety in my third example. Due to the shared nature of singletons, I have to agree that thread...
  • Theo's Musings

    Singleton Pattern

    In the beginning, there was... the singleton . Everything's got to start somewhere. Just like there's only one object type to “rule them all”, the singleton represents cases where there's only one. A pair of examples are the TextWriter...
  • Theo's Musings

    Coming up: Design Patterns

    Quick detour (not so much of a detour). Cyrus has challenged me to 48 hours in order to expound on how he could've written is IOptional<T> better. Actually, I started to explain some of my suggestions, but now he's imposed this limit , since...
Page 1 of 1 (3 items)