DEV Community

Discussion on: Bash is a terrible as a programming language, but what's the alternative ?

 
jmfayard profile image
Jean-Michel πŸ•΅πŸ»β€β™‚οΈ Fayard • Edited

Learning is not the issue, debugging is the issue.

I don't know how many times I have written shell scripts that worked until someone use a file that has a space in it, or something equally stupid...

It's like YAML where you have everything working and then the world falls apart because you have added a space.

And there is this feeling that it will never get better, I did the same kind of mistakes 20 years ago

Apparently OPS people are good at that, but I have PTSD

Thread Thread
 
mechrisreed profile image
Chris Reed

bashdb.sourceforge.net/

It is just like debugging anything else