If web browsers would start to interpret python directly, then maybe. Otherwise I fear it will be Javascript.
Is Python the Future of Programming?
71–77 of 77 posts
Re: Is Python the Future of Programming?
#72If web browsers would start to interpret python directly, then maybe. Otherwise I fear it will be Javascript.
Simple, just create webassembly-bytecode from python, and it will run in all modern browsers. Or at least thats the goal.
But some people had success nevertheless: http://droettboom.com/blog/2018/04/04/python-in-the-browser/
Re: Is Python the Future of Programming?
#73Earlier quoted context omitted.
NO, Python is not simple at all, especially nowadays with all the asyncio stuff and tons of new features in 3.4+. One can't even follow what's happening with the language. I don't understand where this nonsense is coming from. Probably ignorance? You might not know too much about it to understand how huge and complex Python is.
It depends. I can have an intern up and programming basic Python in about 3 days from nothing. I have run this experiment multiple times with teenagers. The nice part about Python is that I can gradually introduce them to new features as they hit the problems the features are meant to solve. And, I WILL argue that Python's syntax is easier to keep in your brain. Somewhere on HN there was an article showing the gramma…
Re: Is Python the Future of Programming?
#74Earlier quoted context omitted.
I think programmers often misinterpret what’s hard about building large projects. It’s not correctness it’s communication. A type checker will save you from small errors but well written and easily understandable code will save you from a lot more. Not saying readability is harder in c# java go or rust just that the type system doesn’t help with it that much.
As a Python developer, I love type annotations on function signatures because they're great, up-to-date documentation. I don't care so much about them being checked, I care that they make the function much easier to read and reason about.
Re: Is Python the Future of Programming?
#75But the nature of the language, its simplicity, its indenting style, its readability, obviously yes. Those were big improvements on the C language it was inspired from.
I don't think python will survive its lack of performance, although I really wish it would.
Re: Is Python the Future of Programming?
#76Earlier quoted context omitted.
As a Python developer, I love type annotations on function signatures because they're great, up-to-date documentation. I don't care so much about them being checked, I care that they make the function much easier to read and reason about.
If they weren’t checked, how would you know they are up to date?
Re: Is Python the Future of Programming?
#77Earlier quoted context omitted.
Lua comes in quite high on the "Most Dreaded" list of programming languages and has 1-based indices in a world of 0-basing. Not exactly something I would recommend ...
I would love to see that list. Have a link?