3 ms·
I find well constructed shell scripts oft more reliable than large tools built for a specific purposes. I think this koan applies. http://www.catb.org/~esr/wri
by donatj 7y ago
I find well constructed shell scripts oft more reliable than large tools built for a specific purposes. I think this koan applies.
http://www.catb.org/~esr/writings/unix-koans/ten-thousand.html http://www.catb.org/~esr/writings/unix-koans/ten-thousand.ht...
- janpot 7y agoWhen I compose small "do one thing well" shell scripts together, people call it "the unix philosophy". When I compose small "do one thing well" modules together in node.js, people call it "a dependency hell".
- kungtotte 7y agoEvery distro and BSD everywhere comes with e.g. find, tr, grep, and so on so all you do is write the glue in a language that also ships with the OS (and is portable across all of them if you keep it POSIX). How do I run your node.js thing on my system without installing dozens or even hundreds of packages and modules? It's not the same thing.
- deleted 7y ago[deleted]
- bitwize 7y agoYes, but... with the appropriate crates you can write a 50-line Rust version of the same program that runs, for all intents and purposes, as fast as the C version, and more correctly and safely, while requiring little more time than the shell version to test and debug.