|
|
|
|
|
by vundercind
780 days ago
|
|
> JavaScript has lots of wacky problems but its main advantage to me was the loosy goosy approach to types. It runs in the browser. That’s always been its only advantage. Even now that it’s much better than it used to be: still true. > Not sure why nobody built something like reentrent exceptions or cool stuff like that, instead they built a stupid jail that down compiles to unreadable sludge. TIL machine-readable and -verifiable versions of the documentation you should be writing anyway (but probably aren’t) is a jail. Also one of the reasons I didn’t worry about it going the way of other compile-to-JS languages is that it’s output is nearly identical to what I would have written anyway, so it’s got a clean and easy “escape hatch”. But maybe I write unreadable sludge. |
|