Hacker News new | ask | show | jobs
by BrendanEich 1953 days ago
Why introduce counterfactuals? Flash existed, it had a full JS-variant language. It was taking over restaurant and other sites due to the IE monopoly stagnating HTML/CSS/JS. We don't need to appeal to an imaginary Turing-incomplete no-JS world to argue that JS didn't contribute enough. Flash was clearly the answer! Right?
3 comments

Even if you might be right, your combative style is very off-putting. You could choose not to reply at all, the comment wasn't directed at you and I personally would've liked to entertain the idea of a more server-side rendered present, but you're shutting down the discussion.
I didn't even shut you down. What are you talking about? This is HN and you're on the Internet. Toughen up.
Turing incompetentes can be a feature IMO.

Anyway, my point is that none of the interactivity as delivered by JS / ActiveX / Flash are themselves reason for all the money in online business. Before graphical browsers there were probably billions in transactions happening on computer networks. And likely would have grown to similar highs without the ability to run untrusted, 3rd party code on demand.

Second reply, sorry — I meant to agree that Turing incomplete languages for things like bounded runtime / all-paths constant time algs are an underutilized toolset. They're coming back on Blockchain, also for browser compositor-thread scripting.

But the pressure on the Web to be interactive enough vs. fat or old clients, never mind plugins, pushed not only JS but Java into the Netscape browser in 1995. I don't see how that could have gone another way in time to avoid MS doing the same.

The idea of a general Web scripting language was to make a relief valve where developers ran up against the limits of existing markup and less expressive languages the browser processed. Then standards bodies were supposed to study the top JS libs and absorb their Turing-incomplete bits into new HTML and CSS. This happened eventually, but not for so long that we had to invent XUL at Mozilla, Adobe did Flex, etc.

Go prove it. Meanwhile, back in reality, Flash was taking over and it did have better JS-variant, better graphics, etc. before we in the HTML5 WHATWG group got browsers upgraded. No-JS happy talk about better Turing-incomplete HTML is idle talk. Go on if you must, but I'll stop here.

"I do not entertain hypotheticals. The world as it is is vexing enough." - Col. Stonehill, "True Grit"

...or Java.