me: “I know Python! I've been using it on and off for like 15 years!”
also me: <still has no real idea what `setup.py` does>
(not looking for someone to explain it to me thanks)
me: “I know Python! I've been using it on and off for like 15 years!”
also me: <still has no real idea what `setup.py` does>
(not looking for someone to explain it to me thanks)
@b0rk Had a 70s year old (who worked in computers his whole life) excitedly tell me he'd started learning Python, just a few days ago.
I remarked that a lot of language, nowadays, are getting awfully similar and that ChatGPT and co could probably help him make the transition from any other language in just a few hours..
.. He seemed quite frustrated at my befitting opinion on the current state of the similarity of programming languages. .. *shrugs*
A true expert is someone who knows *what* to search for.
There's plenty of other more pleasant things one can stuff your brain's limited memory with!
@Diziet, thanks, that’s exactly how I’m going to answer questions about C++ from now on.
@DrHyde @b0rk also, I think git is _particularly_ prone to this, because it's so broad. There are a zillion outlying git features and subcommands, and each one is useful for _something_, but a lot of them are pretty much independent of each other – you don't have to learn lots of them at once, or learn one in order to use another.
So the only way you'd ever learn all of them in advance would be by reading the entire manual … and having a _really_ good memory.
@DrHyde @simontatham @b0rk Well. that list just includes brief cheatsheets on marks, tabpages, and folding with markers, all of which are helpful but are things I don't use enough to have an innate knowledge of (yet). I think everything in that list, however, also applies to Vim because so much of the behavior of the two editors is the same.
In my experience, the differences between the two are kind of a wash unless you really want something that only Neovim has. (Although being able to write configs in Lua is nice.)
@b0rk this is my forever state with things.
"I know python! Let me help answer basic questions!"
\*quickly see's gaps in my knowledge base\*
"I'm going to learn when others answer this basic question!"
🤓 "axkshually, you're not shupposhed to use shetup anymore. "
"let me tell you about the 15 tools we have invented to simplify things."
🤣
Packaging is weirdly simple and weirdly complicated for how simple it is, don't worry about it.
@bmaxv this is a common misconception, setup.py is very much not deprecated.
*Running* setup.py directly as a program, on the other hand, is.
@SnoopJ Ok.
Here is the official building, packaging, distribution project.
Notice how it doesn't contain setup.py?
https://github.com/pypa/sampleproject
All that's missing for the deprecation is the announcement.
@bmaxv right, if setuptools announces that it is deprecated, then it will become deprecated.
I anticipate that to happen never.
It is possible that in the future `pip` might drop support for legacy projects that predate PEP 517, but this hasn't happened yet.
@b0rk My investigations led to the following conclusion: it hides important things in the last place you’re going to go look for them.
I once had a dependency conflict that would add files from a deprecated package to the files of the current, differently named package, and it turned out it was because I had a package with a setup.py that I also have no idea how it’s supposed to work that had the deprecated package listed as a dependency.
@b0rk same feeling when Python came up on https://progle.net
Me: “I know Python, this can’t by Python”
Also me, 2 minutes later: “…I know nothing”
@b0rk
me: "I avoid Python 2 and stick to the latest stable Python, or at least nothing order than Python 3.10"
also me: <cannot name a single Python language change between Python 2.7 and Python 3.13>
@b0rk I don’t work with a single person who can edit a csproj file manually. And that’s probably close to 100 years of experience with csharp and dotnet.
Sometimes we don’t have to care about the nitty gritty details.