News for hackers. Stuff that matters.
Re:Learning modern Linux: A handbook for the cloud native pr... by znpy on Saturday May 07, 2022 @06:48PM (#31299344)
> That's why you can pick your favourite shell for your user account.

nobody cares about user accounts. use whatever you want on your laptop, nobody cares.

however if a script reaches a production server, it should either be sh, bash, or a real programming language (python/ruby/perl/whatever).

the ugly stuff i've seen is that some snowflake user drops their scripts written in ${shell_of_the_week} and leaves, the script breaks and now i have there's this thing that has to be not only fixed, but possibly rewritten from scratch.

Re:Learning modern Linux: A handbook for the cloud native pr... by hedora on Saturday May 07, 2022 @08:42PM (#31300154)
I'd caution against python in prod. In addition to supply chain issues with pip ("pip install" in prod is foolish on the best of days), python libraries love breaking compatibility.

The "one off" script from two years ago that you really, really need right now probably won't work. Perl/bash are less likely to hit this (they stopped changing years ago). It's an open question whether golang will have this problem.