3 ms·
It's absurd because the obvious choice from the beginning should have been a library of abstracted OS concepts. Even if it starts as a single method/function f
by kbenson 11y ago
It's absurd because the obvious choice from the beginning should have been a library of abstracted OS concepts. Even if it starts as a single method/function for determining the homedir, making sure it can easily handle more abstractions is the obvious choice. People wanting homedir() will likely also want a way to separate a path from a file, know how to separate path components based on platform ('/' vs '\'), and a few other obvious things (see the os module you referenced).
A low barrier of entry for submitting modules is generally a good thing, but if it's too low, you end up filling your ecosystem with crap.
- rat87 11y agoPlus hopefully the functions in the module would be more consistent(with each other).