4 ms·
> While this is clearly exaggeration, I'm not sure I find much merit in the argument. > > C is full of gotchas, footguns, and a tremendous threat vector. But it
by 8372049 2y ago
> While this is clearly exaggeration, I'm not sure I find much merit in the argument.
>
> C is full of gotchas, footguns, and a tremendous threat vector. But it is also the standard for many uses.
(I'm not GP)
Yes, and the same way there's a plethora of bash-alternatives in the making, there are multiple languages trying to essentially be a "better C", such as Go, Rust and so on, not to mention C++ and its descendants.
I definitely think there's room for an improved bash. The biggest question is whether an alternative can become ubiquitous enough to be a fully qualified alternative.
- lamontcg 2y agobash isn't even ubiquitous enough to be a fully qualified alternative. people still get paid to care about things like solaris 9 and aix 6.
- carlinigraphy 2y ago> I definitely think there's room for an improved bash. Absolutely! I wholeheartedly agree, and would love for such a project to exist, and see sufficient adoption such that it's a standard at my job. I may not have articulated my prior point precisely enough. Too often I'll see a professional JS programmer (for example) who will forego everything they've learned the second they touch a shell script. No useful comments, no functions, poor design & implementation, no care towards idioms, no regard for readability/maintainability. Given that bash is currently the standard, someone is better served by actually learning it than a worse, novel alternative. Any successor must encompass the power and feature-set that exists within contemporary shell scripting.