logoalt Hacker News

zamadatix • today at 2:14 PM • 1 reply • view on HN

I mean I used to do a lot of things I'm glad I don't have to anymore. I'm not a big fan of doing repetitive work just because I understand how to.

Node at least picked up --run, TS stripping support, .env loading, watch mode, and sqlite (plus some other things I'm probably forgetting) since Deno started so at least theres that.


Replies

user43928 • today at 2:58 PM

I also don't like repetitive work, but I think it can be beneficial to understand how the tools you use work, and bun/Deno seem to abstract much of it away.

Random example: I've worked with many frontend developers who seemed to believe listing dependencies in package.json in devDependencies instead of 'dependencies' controls what ends up in the production bundle.

I'm under the impression few understand that this is only a cosmetic distinction unless you use the package manager's --omit=dev or --production flags during install.

What is included in the production bundle is of course determined by the bundler's dependency-graph reachability from the entry point.

For people who never configured these tools themselves, it's probably difficult to understand how the modern web stack works.

However, nowadays you can probably have AI explain it to you well enough while it fixes the issues.

➕ show 2 replies