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

It really is less of an antipattern in PHP than other languages. With every request being its own process you don't have to worry about singletons as much, and as long as it's easy to swap with mocks/fakes/whatever it's all good.


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

Search: