this post was submitted on 21 Nov 2023
256 points (90.0% liked)
Programmer Humor
32380 readers
1443 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I guess the internet just grew that fast. The first arrival took all and locked everybody in.
Now, we have just two browsers that are widely used, so maybe we do have an opportunity to go back and fix it. Go sounds like it's a pretty popular choice for statically typed, imperative high-level language.
Honestly, given the context of a browser, Javascript's "Everything is better than crashing" philosophy does not seem too out-of-place. Yes, the website might break, but at least it would be theoretically usable still.
Yes, a statically typed language would help, but I'd rather not have one that is "these two types are slightly different, fuck you, have a segfault", but rather one that is slightly more flexible.
Actually, that's a good point, in scripting fatal type errors can happen at runtime. I guess Python is the right choice then, given it's maturity and popularity, and then you can code the complex stuff in whatever you want via WASM like other people mentioned.