News for hackers. Stuff that matters.
Re:Writing Software to Last 50 Years by lmm on Wednesday January 15, 2020 @02:39AM (#22052384)
> If you wrote a python script a few years ago in Python 2 it isn't supported today, never mind in 50 years.

But I'd sooner port a Python 2 script from a few years ago to Python 3 than try to understand a Bash script from a few years ago.

Re:Writing Software to Last 50 Years by einpoklum on Wednesday January 15, 2020 @04:38AM (#22052914)
1. But you won't need to port the bash script, it'll likely just work.

2. Bash is not that complex of a language; it mostly just has somewhat arcane shorthands, like `$@` and `-n` and such. So, yes, you need the manual, but it's not a lot of mental effort.

Re:Writing Software to Last 50 Years by lmm on Wednesday January 15, 2020 @07:14PM (#22060361)
> 1. But you won't need to port the bash script, it'll likely just work.

Well, Python 2 code will likely just work too.

> 2. Bash is not that complex of a language; it mostly just has somewhat arcane shorthands, like `$@` and `-n` and such. So, yes, you need the manual, but it's not a lot of mental effort.

If you're only counting bash qua bash then yes, but in practice most of the logic of a "bash script" will be in (non-standardised) commands that are invoked from it rather than the script itself.