3 ms·
> Using `importlib` is a horrible hack that breaks basically all tooling. You very very obviously are not supposed to do that. This is an assertion that has ab
by flare_blitz 1y ago
> Using `importlib` is a horrible hack that breaks basically all tooling. You very very obviously are not supposed to do that.
This is an assertion that has absolutely no reasoning behind it. I'm not saying I disagree; I'm just saying there is a time and a place for importlib.
- IshKebab 1y agoWell not if you want high quality Python code. Pylint and Pyright won't understand it, and those are absolutely critical to writing Python code that works reliably.
- zahlman 1y ago> those are absolutely critical to writing Python code that works reliably. Curious how much reliable Python code was written before those tools existed. For that matter, curious how much was written before the `types` and `typing` standard library modules appeared.