Hacker News new | ask | show | jobs
by xx789 2019 days ago
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.
2 comments

> 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?
yeah OK its probably the definition of repl.