Re:Fastcore: A library that extends Python with new features
by pbsds on Saturday September 05, 2020 @10:41AM
(#24383876)
I agree on the monkeypatching of pathlib. It makes it difficult for a reader to look up what the functions do.
Providing a different module, like `import nPathlib as Pathlib` would be a lot more discoverable.
[ Parent
| on HN ]
Re:Fastcore: A library that extends Python with new features
by jph00 on Saturday September 05, 2020 @05:27PM
(#24386971)
Your coding environment really should be providing that basic functionality for you.
Re:Fastcore: A library that extends Python with new features
by Too on Sunday September 06, 2020 @04:31AM
(#24389929)
Do you have example of environment that can do this? I don’t think even pycharm manages.
While I generally agree with your sentiment, dynamic monkey patching and heavy meta programming like this is usually not very friendly for any implementation of auto complete.