That’s what Douglas Crockford’s book is all about: what not to do in your JS code base. But imposing the added cognitive burden of how not to do things just makes programming that much more difficult. I wrote about this here, based on an excellent article by Jeff Walker here.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store