by alanbernstein · 6y ago · 0 comments
Python packaging has historically been so bad that dotcloud invented docker in an attempt to make it usable.
I ran into one with Go imports just the other day, and since I’m new to it, it wasn’t a 10 minute google fix.
Nested `mod`s with sometimes `pub` and then `use` for other stuff certainly seems more complex to me than `import X from P`.
Package/crate management is fairly trivial in both cases, yes. `npm i [package]` isn't exactly a difficult process either.
i don't think it's possible to do that any more with Python, the genie is out of the bottle. but you can get close with things like Black (auto-formatting) and Poetry (nicer deps mgmt and so much more). of course, how would a beginner know this? hopefully some day tools like that will become the default answers