Reply to post: JavaScript is "overly complex".

JavaScript survey: Devs love a bit of React, but Angular and Cordova declining. And you're not alone... a chunk of pros also feel JS is 'overly complex'

Mike 137 Silver badge

JavaScript is "overly complex".

JavaScript is bloody lethal, and that's much more important than any complexity. The fundamental problem is an ingrained insistence of doing things client side that for safety should be done on the server. Add to that the common practice of kludging together arbitrary code fragments off web repositories and invoking unverified third party modules, and we get the mess we now call the web.

A significant amount of JavaScript I've investigated is utterly unnecessary - e.g. using script for links and blocking the HTML anchor with #, or loading images using a script instead of the <img> tag, and can only be explained either by lack of understand or by the desire to force JavaScript to be enabled to allow snooping.

Thank goodness for NoScript, and if I can't see your lovely pages as a result of using it, tough on you. There's always another better site I can visit.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

SUBSCRIBE TO OUR WEEKLY TECH NEWSLETTER

Biting the hand that feeds IT © 1998–2020