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

Singletons are so useful in single threaded node land. Configuration objects, DB connection objects that have connection pooling behind them, even my LLM connection is accessed via a Singleton.


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

Search: