3 ms·
Javascript got popular because it was the only option to program for the web. That's it. Python and other dynamic languages don't "automatically manage types",
by Mawr 3y ago
Javascript got popular because it was the only option to program for the web. That's it.
Python and other dynamic languages don't "automatically manage types", they just let you not write the types down in the code. The types still exist and need to be managed by the programmer. There's zero cognitive load improvement there.
As for the AI stuff, lol. I see no point discussing concepts so far out of reach they're in the realm of sci-fi. What you're describing is just magic compared to what we can do in 2023.
We already have languages that automatically pick the best algorithms by the way, in the form of declarative languages like SQL. They don't seem to work very well outside of the realm of fetching data from databases.
- ActorNightly 3y ago>Javascript got popular because it was the only option to program for the web. That's it. If it wasn't as flexible as it was, another language would have taken it over. >Python and other dynamic languages don't "automatically manage types", they just let you not write the types down in the code. They do. They carry dynamic type information during runtime, and can be modified during runtime. >What you're describing is just magic compared to what we can do in 2023. Then you must think that stuff like branch prediction, and compiler optimizations are magic as well.