3 ms·
Making command line tools in node is pretty awful in my experience. Node is meant to be used async, which makes simple dev tools like looping over a bunch of .
by devwastaken 10y ago
Making command line tools in node is pretty awful in my experience.
Node is meant to be used async, which makes simple dev tools like looping over a bunch of .zips and extracting them a total pain. Pretty much every library or method of doing something in node.js is going to lead back to promises, and the second that happens your entire app becomes promises. Its massive overkill for most small dev tools.
- askmike 10y agoI'd argue async/await is almost no overhead, code flow becomes synchronous again.