Live data from Hacker News

The Birth and Death of JavaScript [video]

destroyallsoftware.com

231–236 of 236 posts

Re: The Birth and Death of JavaScript [video]

#231

I like that he mentions "integer". It is still very incredible how JavaScript can work well without a integer construct. Or threads and shared memory. Or bells and whistles.

And it would work better with integers. Or are we claiming now it was a good decision to force all numbers to be floats because look how awesome node is?

Re: The Birth and Death of JavaScript [video]

#232
post #201

Video tl;dw: Gary Bernhardt (rightly) says that JavaScript is shit (with some other insights). HN comments tl;dr: 50%: "Waahhh, JavaScript is awesome and Node.js is wonderful, shut up Gary Bernhardt." 25%: Smug twats talking about how they're too busy changing the world with JavaScript to even bother to comment. 25%: Pedants and know-it-alls having sub-debates within sub-debates. Pretty standard turnout. See you tomo…

Thanks for the summary, but I didn't exactly see that he was saying JavaScript is shit so much as that it was imperfect (10 days, etc.) but that didn't even matter.

Re: The Birth and Death of JavaScript [video]

#233

I like that he mentions "integer". It is still very incredible how JavaScript can work well without a integer construct. Or threads and shared memory. Or bells and whistles.

modern browsers support webworkers so you get "threads" but still no shared memory.

Re: The Birth and Death of JavaScript [video]

#234

He says several times that JavaScript succeeded in spite of being a bad language because it was the only choice. How come we're not all writing Java applets or Flash apps?

Flash still powers Youtube for most users, Silverlight for Netflix and Unity's plugin is required for most 3D games on Chrome's Marketplace (not sure where else to look for successful HTML5 games).

Re: The Birth and Death of JavaScript [video]

#235

First, I very much love the material of the talk, and the idea of Metal. It's fascinating, really makes me think about the future. However, I also want to rave a bit about his presentation in general! That was very nicely delivered, for many reasons. His commitment to the story, of programming from the perspective in 2035, was excellent and in many cases subtle. His deadpan delivery really added to the humor; the fac…

[deleted]

Re: The Birth and Death of JavaScript [video]

#236
post #56

He says several times that JavaScript succeeded in spite of being a bad language because it was the only choice. How come we're not all writing Java applets or Flash apps?

Because Java, Flash, etc. couldn't easily manipulate the DOM . Javascript won for this reason.

or VBScript for that matter.. I think there's some confusion about why JS won. JS couldn't easily manipulate the DOM either until JQuery in 2005-2006.

The fact that Java, ActiveX etc.. had full control of the system and causes problems ensuring security was an issue, but it is not the reason why JS beat them all.

Don't discount the power of 1) free and 2) easy to use software that is 3) not controlled by a single corporation. JS is the only web programming language that is all of these.

Yea, maybe Python or Clojure in the browser would be cool. I would argue Clojure is absolutely more difficult for a novice to learn, and Python provides what additional benefit? JS was there first.

The only reasons why plugins existed is you couldn't do these kinds of things in the DOM. JQ, and the subsequent advances in browser technology, HTML, CSS, JS - made it so you can. Also, other things being equal - programmers will choose elegance over bloat, less layers of abstraction over more. Plugin architecture became just an unnecessary layer between the programmer and the browser, after HTML/JS/CSS caught up.

JS did not become ubiquitous by accident, or because it was the only choice. There were many choices (all being pimped by big well-funded companies). JS won because it was the better than the alternatives.

Post reply on HN