4 ms·
> get rid of all the footguns about expanding unquoted variables The shell's power & it's footguns are one in the same. "Fix" them, and becomes a general-purp
by georgia_peach 4y ago
> get rid of all the footguns about expanding unquoted variables
The shell's power & it's footguns are one in the same. "Fix" them, and becomes a general-purpose language--a jack of all trades & master of none. CS professors will love it, but doing anything meaningful in the shell will look more like a one-page python script instead of the l337 one-liners the Jersey boys graced us with.
- jrumbut 4y agoI've seen so many "bash but with type inference, unit testing, and all those nice features to make your code safer." I want to see someone try "bash but we really embrace the insanity." For instance, make recursively affecting all files in subdirectories the default? Or have a global option where any prompt is automatically answered with yes? Maybe some heuristics to detect if the user wants unquoted variables expanded?
- georgia_peach 4y agoAPL also has great one-liners if that is any help as a potential breeding pair.
- jrumbut 4y agoOh some real terse syntax I like it!