Re:Escape the scripter mentality if reliability matters (2011)
by janpot on Saturday July 27, 2019 @10:01AM
(#20542066)
When 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".
Re:Escape the scripter mentality if reliability matters (2011)
by kungtotte on Saturday July 27, 2019 @12:13PM
(#20542657)
Every 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.
Re:Escape the scripter mentality if reliability matters (2011)
by bitwize on Saturday July 27, 2019 @10:12AM
(#20542111)
Yes, 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.
http://www.catb.org/~esr/writings/unix-koans/ten-thousand.ht...