Skip to content

What a singleton costs

A singleton guarantees one instance of a class, reachable globally through a static method.

What is the main objection to it?