Comment

Comment by Brian_K_White

I have ksh scripts I wrote over 20 years ago on xenix, which still work today on bash or ksh. Meanwhile I have python apps that didn't make it a year.

Any particular version of Python is a saner choice, if you could pick one and freeze it retroactively for the last 20 years and for at least the next 20. But that is not how Python works. Python breaks every 11 minutes.

I would not write anything in Python that I cared the slightest bit about longevity or portability.

Maybe if we made a subset of python, locked down the syntax and feature set, discouraged any use of plugins or libraries in any fancy way that relies on any kind of repository or package manager system, and gave it a new name to distinguish it from normal python, maybe that would be an ok replacement for any of the shells.

But that is not happeing and don't even try to pretend like it could.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton