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

Of course you can do it in JS too.

But you can't reason on the different cases aided by the type checker.

Also, using classes or POJOs is merely an implementation detail.



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

Search: