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

Yep bash is not a real language.

If anything you are saying it should be deprecated in place for a real language. If people want to do more advanced things why does the basic language of their shell not support it? Why should you not care about the correctness of your shell scripts which can run important things? Seems a perfect place for a functional language. It’s high level, you can just declare what you want. I imagine your interpreter can add in all sorts of checks to help make your scripting more correct.



Powershell attempts to use a more scripting friendly language in the shell.

And it’s a horrible shell experience.

It’s great for scripting (but not as good as other scripting languages) but it’s a terrible experience on a day to day basis, with the only salvation being the existence of 2-3 letter aliases which make things slightly more manageable.

Bash is a great shell language that whose scripts are useful because it allows you to trivially convert your manual shell actions into an executable script.

If you need to do anything complex (or rather, something you probably wouldn’t type into the shell manually if you had to do the thing on a one off basis), then you’re probably better off using a different scripting language.

But changing BASH with scripting as a priority would probably make it a worse shell language (which is not to say there are no improvements to be made…there are).




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: