Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Plus some additional reasons: if a singleton is initialized on first use, it might be hard to reason about which kind of environment exists when it is initialized -- what locks are held, etc.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: