Sign up FAST! Login

Drowning in JavaScript


Stashed in: For Milo, JavaScript, Web Development, HTML5!, Software!, Your doing it wrong., Awesome, Codecademy, Programming

To save this post, select a stash from drop-down menu or type in a new one:

This analysis shows that many popular websites are now loading 20+ JavaScript libraries! UR DOING IT WRONG!!!

I have also heard that many popular webdev courses teach this sort of bad development from day one. :(

Are frameworks the culprit?

Even worse, if you use anyscript or noscript, there's sites that even do it insecurely that trigger click-jacking security protocols.   The absolute worst thing that happened is taking some client side javascript technology and transition it to the server as server side javascript frameworks.    It's like the blind leading the blind.

What will bring sanity back to JavaScript?

Or do we have to wait for the Codecademy bubble to burst?

Sanity will return as the pendulum swings back from imperative, towards declarative; once many of the more common reasons for choosing script fall away because it's simpler (and faster) to do it in HTML.

http://www.coactus.com/blog/2007/08/mobile-ajax-workshop-position-paper/

I hear this guy knows or thing or two about the Web;

http://infrequently.org/2012/04/bedrock/

Thanks Mark, you assuage my fears a little.

It sure does feel like we've been espousing this point of view for 20 years.

From what I've experienced looking at children's java programming courses is that people are teaching how to program by having users copy scripts and then change/tweak it as necessary.  Joyce is correct, it's built into the lecture.  the concept is probably early gratification of see what you can do, but training programmers to do that so early causes them to find more and more elaborate ways to achieve that goal of: copy, paste, edit, reference. when teaching math we always learned the long arduous process for finding a solution before we were taught the shortcut.  it looks like programmer instruction has flipped that by giving early learners the shortcut without teaching them how to positively utilize the shortcut first.  this of course leads to poor resource usage n the part of the programmers.

I think that programming has a history of copy / paste / tweak, so this is not as unusual as it seems.

You May Also Like: