Should JavaScript Get More Respect? 439
An anonymous reader points out an article in IBM's Crossing Borders series about the language features of JavaScript, surely the Rodney Dangerfield of scripting languages. But with increasing use in such technologies as Ajax, Apache Cocoon, ActionScript, and Rhino, some industry leaders are taking a fresh look at the language. From the article: "Nearly every Web developer has cursed JavaScript at one time or another. Until recently, many developers had all but written off JavaScript as a necessary evil at best or a toy at worst... But JavaScript is becoming increasingly important, and it remains the most broadly available scripting language for Web development."
Re:Dense != Good (Score:5, Funny)
By that standard APL would be hard to beat.
Re:JS (Score:3, Funny)
Re:Dense != Good (Score:5, Funny)
The irony of this is so elegantly compact I am concern a singularity may form around the vacinity of this article.
Re:JS (Score:5, Funny)
document.write('25,000 bottles of beer on the wall, 25,000 bottles of beer. Take one down and pass it around - 24,999 bottles of beer on the wall');
document.write('24,999 bottles of beer on the wall, 24,999 bottles of beer. Take one down and pass it around - 24,998 bottles of beer on the wall');
document.write('24,998 bottles of beer on the wall, 24,998 bottles of beer. Take one down and pass it around - 24,997 bottles of beer on the wall');
etc
25000 lines: (Score:4, Funny)
Overlord (Score:2, Funny)
And for the record im suppose to be writing various Javascript programs at this moment.
Re:JS (Score:4, Funny)
A much better form for 25000 lines would be having, 12499 bottles of beer on the wall lines, an initlization statment, and a decremeant function after every write line. That way you can easily modify the code to start off with what ever number you want.
Re:JS (Score:4, Funny)
Re:Dense != Good (Score:3, Funny)
Re:JS (Score:4, Funny)
Re:JS (Score:5, Funny)
1000 lines of application code, and 24,000 lines of browser compatibility code.
Re:JS (Score:2, Funny)
Re:Dense != Good (Score:3, Funny)
Re:JS (Score:1, Funny)
Re:JS (Score:5, Funny)
tellJoke();
}
catch(JokeException e)
{
printf("joke wasn't funny");
}
Re:JS (Score:4, Funny)
for(var i=25000;i>0;i--)
document.write((i + ' bottles of beer on the wall,' + i + ' bottles of beer. Take one down and pass it around ' + (i-1) + ' bottles of beer on the wall\n');
Dude, this is slashdot. You can't be posting endless loops like that, that could be dangerous! Have you any idea how many geeks will be frozen in front of their computers until they involuntarily fall asleep?
Javascript is the BB gun of Christmas Toys. (Score:2, Funny)
var human = new Object();
var ass = new Object();
var head = new Object();
human.ass = ass;
human.head = head;
human.ass.head = head;
Perfectly valid in Javascript, and in the real world.
Re:JS (Score:2, Funny)
Re:JS (Score:1, Funny)
Re:Security is a problem (Score:2, Funny)