Re:Ask HN: You have one shot to redesign the Internet – what...
by notamy on Monday June 28, 2021 @04:29PM
(#27667604)
Javascript. Not to remove it, but to make it better from the start. Current JS feels painful to me because it feels like piling hacks on top of a poorly-designed language to make it palatable. Doing it better from the start sounds amazing.
[ Parent
| on HN ]
Re:Ask HN: You have one shot to redesign the Internet – what...
by masswerk on Monday June 28, 2021 @06:42PM
(#27669239)
The thing I'm most offended with: about every generation has now dumped their favorite interface pattern onto it, mostly reused from the fancy language of the day. It has become a Frankenstein language without internal strictness or attitude (which had been once a major trait.) I guess, it's the language most disrespected by its developers.
Re:Ask HN: You have one shot to redesign the Internet – what...
by D13Fd on Monday June 28, 2021 @04:30PM
(#27667630)
I'd give it a better name, which does not involve the word "java."
Re:Ask HN: You have one shot to redesign the Internet – what...
by creativeembassy on Monday June 28, 2021 @04:37PM
(#27667730)
And ECMAscript still sounds like a disease.
Re:Ask HN: You have one shot to redesign the Internet – what...
by FranchuFranchu on Monday June 28, 2021 @06:19PM
(#27668998)
Ecma balls
Re:Ask HN: You have one shot to redesign the Internet – what...
by kzrdude on Monday June 28, 2021 @05:00PM
(#27668049)
let's just pick a letter and it's fine.
escript cscript mscript ascript
Re:Ask HN: You have one shot to redesign the Internet – what...
by pteraspidomorph on Monday June 28, 2021 @05:13PM
(#27668218)
Let's face it, it would end up as "JScript". What we now know as "JScript" would probably become "MScript" or something.
Re:Ask HN: You have one shot to redesign the Internet – what...
by masswerk on Monday June 28, 2021 @06:38PM
(#27669206)
The original name was LiveScript…
Re:Ask HN: You have one shot to redesign the Internet – what...
by ryall on Monday June 28, 2021 @05:02PM
(#27668072)
But it's such a great litmus test to instantly identify the people that don't know what the hell they're talking about ;)
Re:Ask HN: You have one shot to redesign the Internet – what...
by krapp on Tuesday June 29, 2021 @09:35PM
(#27683918)
It would have been nice if the original idea to have the web support multiple scripting languages had panned out. That's not a design problem, though - some form of code running in the browser would have been inevitable, and it was considered as a possibility from the beginning - but it seems inevitable in hindsight that one language would have won out and we would have all been stuck with whatever quirks and pecadillos that language had.
Maybe if something like webassembly had come along earlier, we could have avoided all that "javascript as bytecode" nonsense.
Re:Ask HN: You have one shot to redesign the Internet – what...
by aaron-santos on Tuesday June 29, 2021 @11:40AM
(#27677474)
I wish Brendan Eich's original intention to put Scheme "in the browser"[1] had succeeded. There was never any reason to invent a new browser language when perfectly good one's already existed.
[1] https://books.google.com/books?id=3b40AwAAQBAJ&pg=PT32#v=one...
Re:Ask HN: You have one shot to redesign the Internet – what...
by lowercasename on Tuesday June 29, 2021 @07:00AM
(#27674179)
I'm OP, and this was in fact my response to my question! Everyone else is suggesting these wonderful grandiose economic and social changes, and I just want a strongly typed (or, hell, even a little bit typed) Internet...