4 ms·
I thought it’s a common wisdom that you don’t use the system interpreter, be it Perl or Python or whatever: it’s usually too old, incomplete, as is there to ser
by WesolyKubeczek 5y ago
I thought it’s a common wisdom that you don’t use the system interpreter, be it Perl or Python or whatever: it’s usually too old, incomplete, as is there to serve the OS’s own tooling and not you. The most you can use it for is the simplest of scripts or to bootstrap the real thing.
Apple says in the future you shouldn’t even rely on any scripting runtimes being there by default at all.
- upbeat_general 5y agoI personally don't rely on system versions but lots of people do and that code makes its way everywhere. It's handy to be able to write higher-level code without installing a separate runtime or ensuring it's there...
- SOLAR_FIELDS 5y agoAll true. It still doesn’t make it any less infuriating with someone marginally familiar with Python on MacOS being utterly flummoxed when they just type python myscript.py and expect it to either work or give them a comprehensible error message to install the right version. Sure, virtual environments, you say, but I guarantee you that people who aren’t using python as their daily professional driver probably aren’t using venv. So for these users getting rid of the system default old version is a good thing. Personally I wouldn’t remind relying on system installed python in MacOS if it was 3+ for many cases. I’m not using bleeding edge features in 90% of use cases so if I’m just trying to dash off a quick script that I expect to just work outside of a container (lots of personal automation ends up feeling like using containers is total overkill) I’ll use the system interpreter. If I’m doing a big boy work project I’ll use venv.
- razodactyl 5y agoThis absolutely. Trying to keep clueless developers happy by hoarding unused tooling is a step in the wrong direction and leads to expected hand-holding.