If Singletons are so bad, why does Scala have language support for them?

Viewed 2166

Possible Duplicate:
Why are singleton objects more object orientated?

Why does Scala have language support for the Singleton anti-pattern? If Scala had inherited the static keyword from Java, what legitimate use cases of the object keyword would be left?

4 Answers
Related