3 ms·
Exactly. This is common with shell scripting languages. They feel like some awful duct tape, when in fact the perfect primitive for joining separate concerns al
by cnity 6y ago
Exactly. This is common with shell scripting languages. They feel like some awful duct tape, when in fact the perfect primitive for joining separate concerns already exists (the pipe). Using a nicer language (like modern JS) to perform procedural logic makes perfect sense to me.
- inshadows 6y ago> Using a nicer language (like modern JS) to perform procedural logic makes perfect sense to me. # ls | grep foo This involves two programs written in nicer language (C). # ls | rg foo This involves two programs written in nicer language (C & Rust). Feel free to come up with JS program that does something well and/or is usable in pipeline. I think you're missing the point of the shell.