In a language where both are available, would you prefer to see an instance constructor or a static method that returns an instance?
For example, if you\'re creating
Of course, there are several advantages of static factory methods over constructors.
getInstance() in Singleton.