Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> The learning curve to do bash even adequately right, while perhaps not too steep - is definitely quite slippery.

Haha, yep.

I think a good metric for the difficulty of a technology is how awful StackOverflow answers and code snippets are. Bash, C, and CMake are the worst in my experience, in that order. :p

> it unfortunately does not yield anywhere near to productivity benefits in other domains, compared to the the other languages mentioned.

I assert that this depends on what you're doing.

If you're doing general programming (e.g., making an application for end users), a general purpose language will be better than a command language.

If you're doing system programming (e.g., an automation or installation script), a command language will be better than a general purpose language.

Bash is Unix's command language. If I rewrote my maintenance scripts in Python, they'd be these awkward wrappings around Linux commands that Python naturally treats as second-class citizens. My Bash scripts are much better to work with, and I feel more productive with it in systems work than Python. It's awkward and weird, but that's probably inherent to being a useful and compact command language.



Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: