By duydo via doquocduy.wordpress.com Published: Sep 28 2008 / 16:02
This blog post does not really show any real use case for singleton (which I consider more an anti-pattern than a real pattern). Moreover, it does not show the recommended way to implement one with enum (check Effective Java 2nd edition).
Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.
Comments
jfpoilpret replied ago:
This blog post does not really show any real use case for singleton (which I consider more an anti-pattern than a real pattern).
Moreover, it does not show the recommended way to implement one with enum (check Effective Java 2nd edition).
Voters For This Link (8)
Voters Against This Link (6)