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

Also, sticking to one style and not mixing all the wildly different approaches to do the same thing.

JS, like HTML has the special property that you effectively cannot make backwards-incompatible changes ever, because that scrappy webshop or router UI that was last updated in the 90s still has to work.

But this means that the language is more like an archeological site with different layers of ruins and a modern city built on top of it. Don't use all the features only because they are available.



There used to be a great book for this, "JavaScript The Good Parts". Is there a well-respected equivalent for JavaScript in 2025?




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

Search: