factory method pattern

  • Singleton: Alternative to the Anti-Pattern

    ·

    There are valid reasons for using a Singleton in your design – these reasons, however, are rare enough that many developers can avoid them entirely and still have a full career. If you find yourself using Singletons often, you’re doing something wrong.

    Read More