Hacker News new | past | comments | ask | show | jobs | submit login

> Also when CS happened, JS didn't even have classes.

And it only has class syntax now. Classes in JS are still prototypical inheritance under the hood (and probably always will be).

> Half of the ES6 features are CS inspired.

This is rewriting history. Most of ES6 was under active development before CS was a thing. It's more accurate to say that the same modern languages features inspired both (with ES6 thankfully being less Ruby-like).




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

Search: