News for hackers. Stuff that matters.
Re:The temptation of writing shell scripts, illustrated by amelius on Sunday April 24, 2022 @07:13AM (#31142963)
> Python and Go will probably change faster than Bash. So the maintenance cost of scripts in Python or Go will be higher.

This is something I'd like to see addressed by programming languages. Wouldn't it be nice if you could say "pythonversion 2.7" at the top of your program, and it would use that version of the language for the remainder of the file?

Re:The temptation of writing shell scripts, illustrated by nkozyra on Sunday April 24, 2022 @07:23AM (#31143027)
Doesn't something like pyenv handle the intent here though?
Re:The temptation of writing shell scripts, illustrated by amelius on Sunday April 24, 2022 @07:58AM (#31143223)
I don't think it can handle per-module versioning, but I could be wrong.