| ▲ | user43928 7 hours ago | ||||||||||||||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||||||||||||||
| ▲ | KronisLV 6 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||||||||
Silly drive by take: > 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. If so many believe that it’s how it should work, maybe it just should work that way. Principle of least surprise and all that. | |||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||
| ▲ | zamadatix 6 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||||||||
One should understand how their tools work but there's no such thing as doing that without understanding things across the abstractions involved and at least a good portion of what happens under them, Deno or not. It works the same way you use a bundler instead of assembling your own and so on and so forth down the tree. The farther down the tree, the less focus you should give your understanding to, but that's not an excuse for giving no understanding below the first layer. | |||||||||||||||||||||||||||||||||||||||||