- cross-posted to:
- programmerhumor@lemmy.ml
- cross-posted to:
- programmerhumor@lemmy.ml
You must log in or register to comment.
Most people don’t use JS because they think it’s perfect… they use it because it’s the language that works on web browsers… or because thier coworkers made something in it… or because the library that does what they want uses it…
For such a terrible language, it really has staying power…
JS is the machine code of the web. Fewer and fewer people might write it directly, but it will live as long as the web platform does.
Until some browser can make pages with Python, maybe.
Only if that browser somehow becomes overwhelmingly popular in a market segment BEFORE it gets JS support.
Could make a transpiler for python -> js, and serve python to the browser with a fallback to js if the python isn’t supported by the browser