Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
trhtrsh
on Oct 19, 2012
|
parent
|
context
|
favorite
| on:
This Is Why They Call It a Weakly-Ordered CPU
The "fix" is to define an enum with one member named INSTANCE, if you need a Singleton. -- Effective Java, 2/ed, bu Josh Bloch
oconnor0
on Oct 19, 2012
[–]
Which only works if you need something that doesn't extend existing classes but only interfaces.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: