3 ms·
and curl did not have dependencies? The installation of coinmon and all its deps is faster, as i can your post. But you are right, it uses incredible 33 MB of
by progx 9y ago
and curl did not have dependencies?
The installation of coinmon and all its deps is faster, as i can your post.
But you are right, it uses incredible 33 MB of my disk space, so i now have only 300000 MB left. OMG doomed!
- adtac 9y agoYou're missing my point: nodejs is really not a suitable candidate for tiny CLI programs like this. If the author is just learning node, there's nothing wrong with it, of course. In any case, the bash one-liner is just an alternative :) Also, this kind of "it uses just 33 MB" culture is exactly what's wrong with node: 33 MB is small enough, but what about real programs? Would you still freely add trivial dependencies? This would get unwieldy very fast. There's also the security aspect that comes with relying on 61 dependencies. What if one of the dependencies is compromised (as it happened recently)?
- psyc 9y agoAnd if we had exabyte drives, would there be nothing suspect about a CLI utility taking petabytes? Are we not engineers / programmers?