Re:Safe ways to do things in bash
by h1d on Tuesday May 15, 2018 @04:28AM
(#17072482)
What's painful about Python but not so for others?
Writing anything complicated in bash/zsh is painful enough I wouldn't even think about it.
[ Parent
| on HN ]
2 vs 3 is not a small change. and tools for helping you do things (like a 3+2 compatibility lib) get installed with pip... which is horrifyingly fragile. `pip install your-lib` -> you have no idea if you have the dependencies you require, because pip doesn't behave rationally. it often Just Works™, but when it doesn't there's no help and a massive minefield of potential problems.
Re:Safe ways to do things in bash
by CJefferson on Tuesday May 15, 2018 @07:46AM
(#17073243)
I currently find some users have python2, some have python3, some both. It's fine in a controlled environment, or if your users are Devs, but a pain with normal users who I just want to send a script to.