Java Vs. JavaScript
ask.metafilter.com
ask.metafilter.com
Berners-Lee probably had no idea that his little invention could end up making the Internet relevant to billions and basically sidelining Microsoft.
http://www.jwz.org/blog/2010/10/every-day-i-learn-something-...
http://www.jwz.org/blog/2010/10/every-day-i-learn-something-...
I discovered functional programming because of JavaScript (via Joel Spolsky, in 2006!!) and I must say something: Thank you Brendan.
So the gist is kind of there, but if you want actual history I'd suggest :http://en.wikipedia.org/wiki/JavaScript#History
As I understood it one of the reasons js really took off was Microsoft's addition of XHR requests. Is that right?
"The concept behind the XMLHttpRequest object was originally created by the developers of Outlook Web Access (by Microsoft) for Microsoft Exchange Server 2000." - http://en.wikipedia.org/wiki/XMLHttpRequest
The introduction of the buzzword 'ajax' certainly popularized what people had already been doing for years though.
It's a shame the Microsoft engineers hadn't thought of making websockets instead. Bi-directional communication would have been useful for the web-based version of Outlook they were supporting, and it would have become available to the rest of us much earlier.
Remote Scripting itself was a copy of an IBM applet which Netscape pushed in the v4 timeframe (although practically, NS4 was too unstable to do any real dynamic html.)
So it really was the "AJAX" branding effort that got devs to notice what had been under their noses for some time.
("MSRS" now stands for something else entirely, but here's an old article discussing pre-historic AJAX techniques: http://www.ibm.com/developerworks/web/library/wa-resc/ )
When I first tried it, years ago, I was a little embarrassed for having asked, because I figured everyone would know the correct answer. Then several candidates totally blew the response, and I realized just how good of a filter the question really is -- and continues to be.
What I'm looking for is mention of the fact that Java is fully object-oriented and, these days, primarily used on the server side. (Though some mention of the history of -- and problems with -- applets is good too.) For JavaScript, some mention of AJAX, jQuery, Node.js, etc., are all helpful.
Essentially I want to know if the person truly understands the pros and cons of each and when to use each, as opposed to just having a shallow understanding that "they're different languages". I'm still shocked at how many Web developers can't offer more than the the latter.