Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
addsubtract
· 4y ago · 0 comments
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.
Comments
[–]
emodendroket
4y ago
That's a problem but more languages are introducing features to their STL that make it pretty much idiot-proof.