The best replacement for singleton is static.


The best alternatives to singleton are rated as following:
★★★★★  static
★★  static class
★★  static class java
★★  static methods
★★  factory
★  static java
★  twins
★  static c#
★  dependency injection
★  global variable
★  prototype
★  static class c#
★  class methods
★  unit set
★  monostate
  prototype spring
  static class c
  singlecall
  singleton
  static php
  static classes
  namespace
  static methods java
  transient
  twin pregnancy
  single call
  static class c++
  applicationscoped
  waterhouse

Your alternative for singleton is not listed? Suggest!
Speaking about singleton, one probably shouldn't forget about private constructor.

Other search terms related to singleton and their ratings are:

★★★★★ private constructor
★★★ factory
★★★ private constructor in java
instance
volatile
high hcg
factory pattern
You have in mind a companion for singleton and it is not yet here? Propose!



Google Trends

Scale is based on the average worldwide traffic of singleton in all years. Click on graph for more.
singleton
static
static class