Hacker News new | ask | show | jobs
by addsubtract 1526 days ago
I’ve seen singleton mis-implemented as well. For example, multithreaded implementations that can actually can make multiple instances depending on timing due to the constructor/initialization not being thread-safe.
1 comments

That's a problem but more languages are introducing features to their STL that make it pretty much idiot-proof.