3 ms·
> world's most beloved programming language The more I use python, the more I hate it. For the inconsistencies and the short comings and the stuff it glosses
by fnord77 1y ago
> world's most beloved programming language
The more I use python, the more I hate it. For the inconsistencies and the short comings and the stuff it glosses over and absurdities like having the default queue be thread safe (sacrificing performance). My personal opinion is it is a garbage language.
- ihaveajob 1y agoI used to love Python. I still love it, but I used to love it, too.
- breatheoften 1y agoHilarious . I was a python fan before I was a reluctant user. It still has the most reliable debugger integration of any mainstream language which is my favorite thing about the language in its current state. Debugger >> language -- next most popular language manifesto slogan (i hope).
- zahlman 1y ago> absurdities like having the default queue be thread safe (sacrificing performance). Why is this absurd? What are you writing where you need to scrape this sort of performance, but are perfectly fine with the overhead of interpreting bytecode at runtime, heap-allocating objects to represent floating-point numbers, not having homogeneous-type arrays that can store their elements contiguously in memory but which must indirect them, etc. etc. etc.? Alternately, what world are you living in where everything a program does is CPU-bound and must be done efficiently? In this world, what led you to examine or try Python in the first place?
- fnord77 1y agoBecause 99% of the time queues don't need to be thread safe. If you need thread safety, use locks or specialized thread-safe versions. Java learned this lesson early.
- roelschroeven 1y agoPython's queue is for communication between threads. What's the use of such a thing if it's not thread safe?