3 ms·
The article references the true granularity issue (actually the function names need a version number as well, not sure in my scan of the article if it was menti
by AtlasBarfed 2y ago
The article references the true granularity issue (actually the function names need a version number as well, not sure in my scan of the article if it was mentioned).
Modules being collections of types and functions obviously increases coarseness. I'm not a fan of most import mechanisms because it leaves versioning and namespace versioning (if it has namespaces at all...) out, to be picked up poorly by build systems and dependency graph resolvers and that crap.
- poincaredisk 2y agoHow do you imagine importing modules by version in the code? Something like "import requests version 2.0.3"? This sounds awful when you accidentally import the same module in two different versions and chaos ensures.
- _factor 2y agoImport latest where signed by a trusted authority.