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

`class` trades the flexibility of prototypes for the familiarity of other languages. :(


This is just false. `class` is sugar over prototypes. Nothing is lost.


Yes, it is just "sugar", but it cements one way of doing things.




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

Search: