Python as a language is nice. Python's version and package management is nothing short of a nightmare.
Think JNI or cgo management.
11–20 of 718 posts
Python as a language is nice. Python's version and package management is nothing short of a nightmare.
Think JNI or cgo management.
So, i don't get it, now i still need to have a uv venv ?
> 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…
Kotlin: constructor is either part of class definition or keyword constructor.
Ruby: initialize
JS: constructor
Python: ______new______, _______init_______
Literally this meme: https://knowyourmeme.com/memes/three-headed-dragon
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.
Earlier 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.
Python as a language is nice. Python's version and package management is nothing short of a nightmare.
> 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…
In C++, if you want to define the binary + operator on a class, you give the class a method with the special name `operator+`. In Python, to do the same thing, you give the class a method with the pseudo-special name `__add__`. You don't think the Python way is worse?
Earlier 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.
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/
"the second best language for any job"