Re:Become Shell Literate
by xx789 on Saturday December 12, 2020 @04:40PM
(#25401988)
Sign me up for someone who hates the shell. I've always tried to write scripts in Python or even C++ is so much easier than bash, awk, etc. Bash has no repl, no unit tests not debugger its anachronistic. Don't get me started on emacs.
[ Parent
| on HN ]
> Bash has no repl, no unit tests not debugger
Bash scripts are generally very short. If you need unit tests and a debugger you probably should be using something other than Bash. But saying you hate the shell because it's bad at something it was never designed for is silly.
At work I regularly have to support 500+ line scripts written by random developers, I 'n hate them.
Yeah I think that most people would hate this situation too compared to, say, similar scripts written in Python. But as parent said, the wrong tool for the wrong job is rarely a pleasant experience.
Bash has no REPL?