@nixCraft
bash scrips are powerfull.
but for more, i only need python.
with out Frameworks
Perl:
@LeoBistmans @moppi @nixCraft
Well, sure, if you have masochistic tendencies?
You do realize that the rule of thumb that code is read at least a magnitude more often than written, is there for a good reason.
@anderseknert we wrote k8s in bash in 2015. We made mistakes. It caused problems. It was rocket surgery.
Moving to k8s very much helped make things manageable because there are docs and examples and help available. It is still really hard but there is now a realistic chance others can pitch in and build things in our environment.
In my bash script version I was doing multi-region which these days we'd call multi-cluster.
It deployed to Dallas, checked it was OK, then London, checked it was OK and then Sydney.
Except I got a boolean wrong in the check. One day it walked around the planet breaking each data center and moving on to the next one.
If my script was part of something big and well-used (such as k8s) then someone else would have spotted it before me.
@bassplayer I stayed off k8s for a while because it was immature and the team were just getting used to Docker.
It was quite a jump to move to k8s, but the team figured it out along the way and things were great.
@nixCraft the KISS ruleset is fine to work with =)
(Keep It Simple Stupid)
I'm on the Bash/Sh side myself, got tons of scripts I've made through the years that still do their work fine.
Both of these are going to be maintenance nightmares but in excitingly different ways.
@nixCraft
Literally us at CERN last week. Crumpled together a bash script that executes GHDL test benches.
It even spits out JUnit XML by using hand crafted echo statements, and abuses `touch` and a subdirectory as binary hash map to mark test data.
And it works!
Easy to run anywhere since you really just need bash.
Sure it's an eye-sore, but it's a simple lean functional eye-sore.
@nixCraft this is stoooopid, it misses the root question:
what problem are your trying to solve?
I can easily send a whole directory to a friend over the internet using tar and netcat, but do I want to make a scalable global file serving facility only with bash scripts? HELL NO! that'd be insane.
The right tool for the right problem.
While there are the occasional "wheel reinventions", usually new technologies come about because the prevues hit a limit.