3 ms·
These arguments don’t really make much sense. Python is easy to read, write and teach that’s why it’s a top programming language. The point about speed is nons
by faizshah 5y ago
These arguments don’t really make much sense. Python is easy to read, write and teach that’s why it’s a top programming language.
The point about speed is nonsense, python is fast when it needs to be due to the ability to optimize python with C/cpp extensions. Also the idea that “every millisecond counts” in 2022 is dubious at best, IoT is just one domain of programming and not even the most popular one.
I have never heard anyone comment about python’s syntax rules being hard to learn, in fact when I first coded in python I just jumped right in with my knowledge of Java and reworking snippets from stackoverflow. I know non-technical people who have jumped into python directly and they run more so into basic errors in logic like accidental quadratics than syntax errors in python, in fact that’s one of the strengths of python.
> knowing how to code in Python is merely one step up from knowing how to run programs in a Bash shell, which is not coding at all.
This is a silly point as well, the strength of python is beginners and even non-technical experts in other fields can program in a simple interactive environment via the REPL or jupyter and do real work. When they want to ship their software they can use the plethora of tutorials to deploy with docker or learn how to distribute wheels. 90% of my software development skills I learned from working on a project in production so I don’t really understand what your choice of programming language has to do with it.
> Nothing really big has been written in python
This is not correct, I think that python is not the best tool for writing a complex web application or web service. However there are many large complex Django apps for instance or ETL pipelines that are written in python.
I think if you were to write a fair version of this article the reasons why python shouldn’t be a top programming language are:
1) lack of a typing system like Typescript
2) no agreement on a standard way of packaging and distributing python programs
3) too many ways to accomplish the same task
4) the GIL
However, I think python should be the top programming language simply because it’s easy to learn, teach, read and write. No matter what problem you have in your python code you can usually google and find an answer or a tutorial. Like I said anyone with a little bit of coding experience can pick up python and accomplish real work in a few days and that’s powerful.
- wheelerof4te 4y ago"Python is easy to read, write and teach that’s why it’s a top programming language." Easy to teach? Yes, but the language is getting bigger and more complex with each passing year. Add having to teach typing and it is already difficult. Easy to write? Maybe, with a bit of getting used to. But easy to read? Hell, no. In fact, it is one of the hardest languages to read, double that when you need to understand a big project. Triple it if that project has a bunch of classes entwined together. You make good points on the other reasons, though. Python really needs a good and simple standard for packaging. Lack of good typing system is maybe a con if you actually can make good case for adding the whole typing complexity. In a language like Python, I don't really see it. The many ways of doing the same thing is also a major con, as well as the lack of good multi-threading options. "However, I think python should be the top programming language simply because it’s easy to learn, teach, read and write." Again, this was the case in the past. Now, things have changed for the worse. But yeah, the article itself is nonsense. Speed? C extensions cover that if you need it. Bad syntax? Nonsense. What limited experience? The last argument is a sad joke, at least I hope it is.