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

> that doesn't stop another dev from exporting and abusing the plain constructor somewhere else.

That seems like a pretty unfair constraint. Yes, you can deliberately circumvent safeguards and you can deliberately write bad code. That doesn't mean those language features are bad.



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

Search: