[1] http://www.html5rocks.com/en/tutorials/offline/storage/
[2] http://dev.w3.org/2009/dap/file-system/file-dir-sys.html
Fortran made programming much more accessible. C and UNIX made for an effective, practical platform. Lisp, Scheme, Smalltalk and ML brought some rigor and new ideas to the table. Perl and Python allowed for rapid development of scripts and prototypes. SQL let us really push relational databases to the limit. Even C++, Java and C# allowed for the development of large, real-world systems.
Then around 2007 or so, everything went completely stupid. We saw the rise of JavaScript and NoSQL, and things have only gotten worse since then. It's like we lost 50+ years of accumulated knowledge, programming language functionality, libraries and platform support.
What happened to our craft? Everything that was good is being discarded, in favor of languages, databases, APIs and platforms that are rubbish. It's not even a case of "worse is better". It's "worse is much worse".
CoffeeScript removes the quirks of Javascripts and emphasizes the functional aspects. My Coffeescript code is easily more expressive than the C++ code to do something equivalent (as long as it's not low-level system stuff or HPC critical). First-class functions, maps, folds -- yes please! And even though Javascript objects aren't technically maps, everyone uses them for that (and V8 optimizes them for that) and the syntax is amazingly brief.
I think Javascript for a desktop API is a good idea. As to Microsoft's implementation of such a desktop API, I can't comment since I haven't used it.
EDIT: Just read through the Windows Javascript API. Holy crap, they screwed that up badly! So much potential...
What on this green Earth does that even mean? JavaScript and Silverlight could hardly be less related other than they're both available in some browsers. Timeframe, etc, don't support your [conspiracy] theory.
JS is different in that it's a prototype-based language. That and the sometimes errant recent love-obsession with Node.JS has given JS an undeserved and often non-specific bad reputation.
While its prototype-based nature may have some theoretical benefits, in practice it has obviously been disastrous. I suspect that it is the cause of more terrible code than JavaScript's numerous other serious problems.
In order to make something truly usable out of JavaScript, you essentially have to discard all of its core features and syntax. At that point, one should ask why there's even any point in bothering. If JavaScript basically needs to be twisted into something resembling C++, Java, C#, Ruby or Python to be truly useful, then why not just go with those languages instead?
I don't really consider D, Rust and Go to be all that remarkable. They're not terrible regressions like JavaScript is, but they aren't that much of an improvement over C or C++, for instance. Likewise, NoSQL is merely 1960s-era approaches reused and abused today.
Maybe you weren't around to experience the massive boost in productivity that languages like C, C++, Java and Perl brought when they first became available. Tasks that formerly took months now only took days, and tasks that took days could now be accomplished in mere hours. You wouldn't believe the excitement I saw from some developers when they first started using Perl and CPAN, for instance.
It's like we were due for that next massive productivity jump between 2007 and 2010 or so, but things went horribly wrong and we ended up in this JavaScript swamp instead.
The code in the blog post is poor because it's width constrained and callback soup. Use of promises and/or better JS would help the appearance of the code.