Live data from Hacker News

JavaScript at 20

brendaneich.github.io

51–60 of 327 posts

Re: JavaScript at 20

#51
post #23

I never understood why HN likes slideshows so much. Am I the only one who finds them completely, 100% useless without the audio of the presentation?

nope. Even worse are ones that don't indicate visually what they are and I stare at the screen for 20 seconds waiting for it to finish loading and wondering why my scroll wheel isn't working.

Re: JavaScript at 20

#53

"Always bet on JS" is complete nonsense: http://brendaneich.github.io/ModernWeb.tw-2015/#74 It does those things poorly , and at great expense. Eich did one thing, in 10 days, that was market positioned such that it became ubiquitous, and he's been banging that drum ever since -- to everyone's detriment, given how much power over technical direction he wielded at Mozilla, and how much impact Mozilla had on the web pr…

"Always bet on JS" is short for "There have been dozens of challengers to JavaScript over the last 20 years, and they have all failed to gain traction". What part of that statement is incorrect?

That's not what he's actually saying there; that's a list of technical bullet points, not market adoption.

However, even if we talk about market adoption; how is Firefox OS holding up against iOS, Android, and Windows?

> What part of that statement is incorrect?

"Always bet on JS" from Brendan Eich really meant, for 16 years, starting in 1998 and during the time that Firefox was most influential over the future of the web: "I'm never going to bet on anything other than JS".

It's a uselessly self-fulfilling declaration when its stated by a (now former) browser vendor executive.

Re: JavaScript at 20

#54
post #18

I wish JavaScript "committed a teenager suicide" and we finally got a more sane language for the web. It's startling how much energy is spent to work around its bad design every day and it's not getting any better, people are just getting used to it (which is akin to voluntarily agree with having most of one's brain blown off). Even seeing Brendan showing off that he hacked the language in 10 days makes me sick to th…

> I wish JavaScript "committed a teenager suicide"

Uhhh what? This is a pretty weird thing to say, also kinda messed up to reference something as a "teenage suicide"

Re: JavaScript at 20

#55

Eich states that in the original implementation of JS, Array was just Object with a length property. How did it handle order?

In JS, arrays are just objects where the indices are keys. There is a small bit of magic where any time you alter an array object, the length is changed to the largest numeric key the object has, plus 1.

Re: JavaScript at 20

#56
post #18

I wish JavaScript "committed a teenager suicide" and we finally got a more sane language for the web. It's startling how much energy is spent to work around its bad design every day and it's not getting any better, people are just getting used to it (which is akin to voluntarily agree with having most of one's brain blown off). Even seeing Brendan showing off that he hacked the language in 10 days makes me sick to th…

I struggle with a couple different tools that were developed in weeks or a couple months or on a plane ride.

Every time these guys brag about how quickly they put together the first version I just want to say to them, "yeah, we can all tell. And every day we suffer for it."

Re: JavaScript at 20

#57

"Haters gonna hate." Anyone claiming that JS is the "worst thing to happen to the web" and/or that some other language would miraculously solve all of the problems present in JS should do the following, "Go create it." Don't whine about the barriers and how a new language would never be adopted because "JS is already everywhere." There are plenty of people already trying to solve this problem by actively doing someth…

There are no end of alternatives out there today, from mobile platforms to research languages exploring a myriad of aspects of computer science.

Just let me know when browser vendors are going to break down the two-tiered system, and let us run the legion of alternatives alongside -- instead of under -- JavaScript.

Or, they could take their own medicine, and try and write the browser in JS.

Re: JavaScript at 20

#60

I have learnt that if I click a javascript post and see a title and author slash screen and nothing else apparently I must start using my right arrow button.

The first thing I tried was hitting the down arrow key to scroll.

The second thing I tried was clicking the blue text, which brought me to Brendan Eich's Twitter page. And then Twitter did what Twitter does, and popped up a sign up/log in dialog in front of the content so I can't actually read any of it.

Pressing the right arrow key was my third guess.

Post reply on HN