3 ms·
From a clean state almost everything is better than Bash. I don't think many people seriously say that Bash is good. We use it because of the insane network eff
by IshKebab 4y ago
From a clean state almost everything is better than Bash. I don't think many people seriously say that Bash is good. We use it because of the insane network effects that come from it being preinstalled almost everywhere (except Windows).
The question is not "is nushell better than Bash" - it obviously is. The question is "is nushell better enough that you are willing to install it on every system you use, deal with naysaying colleagues and idiots that have been brainwashed into thinking Bash is great, learn a new tool, deal with all the incompatibilities with software that assumes everyone uses Bash, etc. etc."
As much as I hate Bash I would say it isn't that good. At least currently. If you're willing to install a new tool to run your scripts then there are better options, e.g. Deno. If it catches on and gets installed by default in more places in future (hopefully!) then that might change.
Basically I would say for interactive use Bash is not great but fine. For scripting use you shouldn't use Bash anyway.
- HervalFreire 4y ago>If you're willing to install a new tool to run your scripts then there are better options, e.g. Deno A shell scripting language should also have a sort of convenience that allows the user to easily navigate and manipulate the OS via repl commands. Javascript while definetely a more powerful scripting language lacks the power of a repl OS command prompt. Bash at the very least has the property of being good as a UI, even though it is clearly a horrible scripting language. So nushell in this sense unionizes the best aspects of both worlds. Powerful UI, powerful scripting.