Re:PEP 704 – Require virtual environments by default for pac...
by radicalbyte on Wednesday March 15, 2023 @09:35AM
(#35168106)
It always seems so backwards to me when I use Python... and kinda crazy to see in a "beginner" language.
[ Parent
| on HN ]
Re:PEP 704 – Require virtual environments by default for pac...
by throwaway894345 on Wednesday March 15, 2023 @10:52AM
(#35169210)
I've always felt that it's weird that Python is considered a "beginner" language. Yeah, it uses "and" instead of "&&", but it took me a loooonnng time to figure out how to manage dependencies when I was starting out (and then figuring out how to deploy to targets, how to do reproducible builds, etc). Compared with Rust or Go which just do the right thing by default (personally I've always felt that the tooling is the way more important problem than language concepts which often feel like bike shedding to me).
Re:PEP 704 – Require virtual environments by default for pac...
by radicalbyte on Wednesday March 15, 2023 @12:07PM
(#35170469)
I also despair that it's used as a beginner language. There are so many better options. I even include Java in that list.
So why is it used? As it has a fantastic eco-system for applied statistics / machine learning / various math things. If you're teaching an introduction to programming then it's a very effective language.
That and once people progress it's decent - much prefer the code written in Python by competent developers to that written in Java or even Go. It also sets people up to use more robust languages such as C# or (for those with a Math background) Haskell.