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

Indeed. In 5.3 you could have regular functions in a namespace, so there's no need to abuse class for that any more.

Other than that it smells like a variation of the singleton antipattern.



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

Search: