Bash Scripting Debate
Discussions critique Bash scripting for its pitfalls, poor readability, and gotchas in complex tasks, advocating alternatives like Python or Perl, while defending its use for simple pipelines and ubiquity.
Activity Over Time
Top Contributors
Keywords
Sample Comments
A compelling argument for why Bash scripts shouldn't exist at all.
Bash is a strange choice, why not a more readable language like python/perl/ruby?
The writer uses bash, so I wouldn't be that quick to label them.
Bash scripting and convenient is strange in the same sentence. Bash is an abomination that should not even exist. Like, even thinking about a line of bash code will have 3 bugs.
Well, bash as a shell is ok. Writing complex scripts on the other hand...
Things I Wish Iād Known About Bash: don't use it for script
there is a reason why this hasn't been done in the decades since bash was created
Bash is everywhere but in small quantities. If it's more than a page of bash, it's probably time to rewrite in something with stricter rules and fewer surprises, or better libraries, or both. Perl or Python is quite common at that level.
Why hasn't shell scripting evolved? It's god-awful.
Is it even up for debate, that bash is hard to get right?