Re:JavaScript Growing Pains: From 0 to 13,000 Dependencies
by Kye on Sunday June 14, 2020 @11:11AM
(#23518225)
It does seem like JavaScript/NPM has the advantages of composability found in Unix tools. It's no different from zcat | grep or similar. All that's different is the people making these tools have a wider range of experience and knowledge than people hacking on C making Unix tools, and easier distribution.
[ Parent
| on HN ]
Re:JavaScript Growing Pains: From 0 to 13,000 Dependencies
by 15rthughes on Sunday June 14, 2020 @04:09PM
(#23520880)
There’s an argument to be made that micro packages follow the ideas of the Unix philosophy, but to compare is-odd and a derivative that simply negates it’s results to piping two well optimized coreutils together is definitely a stretch.
I’d also say that implying JS developers inherently have a wider range of experience and knowledge compared to developers of coreutils is flat out absurd.
Re:JavaScript Growing Pains: From 0 to 13,000 Dependencies
by Kye on Sunday June 14, 2020 @04:53PM
(#23521273)
>> "I’d also say that implying JS developers inherently have a wider range of experience and knowledge compared to developers of coreutils is flat out absurd."
I was way too ambiguous, so I see how you understood it that way. I meant in the downward direction. There are more packages from more people in JS, so you end up with lots of first projects, small experiments, etc. So you have 100% of coreutils being decent to amazing, while it's probably closer to 1% with NPM. Both ways have their advantages, but it's easier to footgun with the highly inclusive NPM approach.