There is no doubt that JavaScript today is becoming more and more present in web application development, not as small scripts to validate a form, or to preload images, but as complex application that can perform very advanced tasks.


The problem that I’m facing with many developers that they still consider JavaScripts as “hacks” and write them on the fly, opening a script tag and start playing with JavaScript. I think I used the right word “Playing” and not programming, because many don’t consider JavaScript as a scripting language, while that’s what really JavaScript is, it’s like PHP but for the client side programming.
Playing with JavaScript and testing every line if things works or no, will result a disaster code that I call “Spaghetti”, while I was referring before with Spaghetti to manually written code. Very ugly, uncommented, using obfuscated variable names by default without any Obfuscator, with lots of commented alerts to spy on variables and so on … ! I saw miracles like that working !!
I think client-side programming should have more importance than being truncated to a simple markup. Pimp your JavaScripts so you can have more control on it, otherwise the final product will be a crap, it could be working but definitely unmaintainable.

LEAVE A REPLY

Please enter your comment!
Please enter your name here