|
|
|
|
|
by stcg
545 days ago
|
|
One of the biggest usability problems with Python dependencies is that the name you import might be different from the name that you use to install the package. So if you find some script on the web that has an `import foo` at the top, you cannot just `pip install foo`. Instead, you'll have to do some research into which package was originally used. Maybe it's named `pyfoo` or `foolib`. Compare that to for example Java, which does not have that problem, thanks to Reverse Domain Name Notation. That is a much better system. |
|
The lack of good namespacing practice is a problem. Part of the reason for it, in my estimation, is that developers have cargo-culted around a mistaken understanding of `__init__.py`.