Defending javascript syntax is not really a valid thing. Even js devs admit it.
Defending javascript syntax is not really a valid thing. Even js devs admit it.
Python is an overall robust language that allows you to do basically whatever you want, and does it pretty well. You can even use C extensions if you want to get peak performance.
The two domains that I believe Python cannot easily work with, are IoT where the interpreter would be a bit too cumbersome for a low-power system, and web programming, where it would still underperform Javascript and Webassembly (even though I am guessing that with a better webassembly support of the browsers, it would be possible to reach a rather efficient interpreter in-browser that would at least reach performances similar to javascript, if not better. And even if slower, the better syntax and lack of absurd rules would be a clear advantage on JavaScript).
“Use lua if you want a language that allows you to code in a crappy way” is a good argument
Someone tried to learn python and failed.
helloWorld : '{IO, Exception} () helloWorld _ = printLine "Hello World"
I wouldn’t call it friendly.