Python as a language is nice. Python's version and package management is nothing short of a nightmare.
I'm switching to Python and actually liking it
21–30 of 718 posts
Re: I'm switching to Python and actually liking it
#22Python as a language is nice. Python's version and package management is nothing short of a nightmare.
Re: I'm switching to Python and actually liking it
#23So, i don't get it, now i still need to have a uv venv ?
The principle of uv as much as I understand is to not tinker with virtual environments. With commands like uv run, uv sync etc you shouldn't have to worry about the virtual env and whether it's activated etc. if you are in a project, it will automatically pick up the right Python version . However if you want to do something not possible through those commands you can still get down to the virtual env. Plus for auto…
Re: I'm switching to Python and actually liking it
#24Earlier quoted context omitted.
I dont think python is pre-installed on macOS now. (uv has replaced it for me) Edit: Unlike older versions of macOS that came with Python 2.7 pre-installed, newer macOS versions (Catalina and later) no longer include Python pre-installed.
macOS dropped PHP recently too—doing a wonderful job of losing all that developer share that Apple was slowly building up.
Re: I'm switching to Python and actually liking it
#25Said with a note of surprise? Made me think this is probably normally a Ruby developer indoctrinated against Python. The article doesn’t seem to say what they have come from.
Ruby devs think about code differently. Like Perl, they embrace TIMTOWTDI.
https://perl.fandom.com/wiki/TIMTOWTDI
Also, there's a pride in writing elegant code as opposed to following "Pythonic" conventions. Excellence is not conformity.
I use Python a lot more often now because it's seen as simpler and more approachable and easier to force compliance. I miss Ruby.
Re: I'm switching to Python and actually liking it
#26Said with a note of surprise? Made me think this is probably normally a Ruby developer indoctrinated against Python. The article doesn’t seem to say what they have come from.
> If you know me, you know I used to be mostly a Java/JavaScript/R kind of guy. ↩
Re: I'm switching to Python and actually liking it
#27So, i don't get it, now i still need to have a uv venv ?
Re: I'm switching to Python and actually liking it
#28> Python has done a good job of hiding its legacy ugliness (such as __init__, __new__, and similar aberrations), swettening its syntax to accomodate developers with good taste. What exactly is the problem with __init__ or __new__? @dataclass is very nice syntactic sugar, but are we arguing here that having access to initializer/allocator/constructor dunder methods is "legacy ugliness"? This is the core of pythonic bu…
My read was that the "ugliness" was in the method naming, and specifically the double underscores, not the availability of the methods themselves.
Re: I'm switching to Python and actually liking it
#29Python as a language is nice. Python's version and package management is nothing short of a nightmare.
This hasn't really been true for a while now. `uv` has radically improved the experience.
Re: I'm switching to Python and actually liking it
#30Said with a note of surprise? Made me think this is probably normally a Ruby developer indoctrinated against Python. The article doesn’t seem to say what they have come from.