3 ms·
>One of the worst problems I see for the new JS developers is the tooling-overload. Being an experienced developer, I know why that tooling is required Being p
by coldtea 10y ago
>One of the worst problems I see for the new JS developers is the tooling-overload. Being an experienced developer, I know why that tooling is required
Being probably even more experienced (or at least older in the business) developer, I don't. :-)
- Yokohiii 10y agoI know babel is always required if the coder lives in the future and struggles with todays state of things.
- acdha 10y agoKind of but you can use it differently: I like writing pure modern ES6, APIs, etc. and using Babel only to compile ES5 + polyfills for old browsers. You can develop directly in most current browsers, avoid lengthy compile times, etc. and there's zero lock-in if you prefer a separate tool next year. That's quite different from some of the dreadnaught-weight frameworks which need a huge toolchain to run Hello World. That can be worth it if you have a huge complex application which uses all of that functionality but otherwise it turns simple projects into ongoing time commitments.
- nramadas 10y agoMost tools solve very specific problems that usually only matter on large scale production apps. Webpack, for example, is fantastic if you need to create split points in your code to absolutely minimize the amount of js you send to the client. Or, if there is a chunk of js code (like React, or jquery) that rarely changes and could benefit from being part of a separately cached bundle. IMO, the biggest problem the js world has is that the folks keep creating solutions for really _big_ problems, but no one cares about creating solutions for folks that just want to get something done quickly.
- coldtea 10y ago>Most tools solve very specific problems that usually only matter on large scale production apps. Webpack, for example, is fantastic if you need to create split points in your code to absolutely minimize the amount of js you send to the client. Or, if there is a chunk of js code (like React, or jquery) that rarely changes and could benefit from being part of a separately cached bundle. Yeah, I know what they do and what they are used for. I don't know why they are needed. Browsers could have solved this problem from the start, with proper incremental module import syntax in JS scripts.