News for hackers. Stuff that matters.
Re:Shell Style Guide by hamandcheese on Tuesday May 15, 2018 @10:39AM (#17074226)
Its possible to write 2-3 compatible Python code. Furthermore, for basic "scripting" its reasonable to assume no external dependencies, so no need to worry about packaging, pip, pipenv, etc.

The major disadvantage of any "comfortable" language aside from Python is that they aren't installed by default on nearly every distribution of every OS.

This is why, for example, Ansible only requires Python 2.6 on managed nodes, allowing literally zero installation on almost any host you want to manage.

If you already have a good mechanism for packaging and distributing software to all your machines (which I think is a reasonable expectation for Google) then go ahead and use whatever language you're well equipped for. But know you'll be sacrificing the easy and wide distribution that using Bash or Python brings you.

Re:Shell Style Guide by pas on Tuesday May 15, 2018 @10:55AM (#17074357)
> This is why, for example, Ansible only requires Python 2.6 on managed nodes, allowing literally zero installation on almost any host you want to manage.

Yes, Ansible transfers everything. It's ugly and slow :(

I pretty much gave up on [vanilla] OpenStack because their idea of DevOps is custom python script generated Ansible plays.

Re:Shell Style Guide by hamandcheese on Tuesday May 15, 2018 @11:18AM (#17074567)
Slow? Maybe. Ugly? I find it rather elegant.