Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> much better than the mess of Webpack/Rollup/Brunch/Grunt/Gulp/Bower/Browserify/Parcel/Snowpack/Turbopack/Babel/etc/etc.

What? That mess is still ongoing. Next.js for example (probably the most popular "out of the box" solution) technically uses SWC, but not quite, because it doesn't support `styled-components` so you need to use Babel for that. But wait, you might also need to use tailwind, and for that you'll need `postcss` which might also work with Babel with `babel-plugin-import-postcss` but not necessarily, could also just use it as a Next plugin, but that doesn't always[1] seem to work.

I don't think this mess will ever end unless we throw React/Vue, and all "reactive" frameworks in the dustbin and we'll get enough folks on board to re-invent the web starting from scratch. But no one really wants to do that (yet?), so even things like Bun or Deno will try to be as compatible as possible making continuous concessions that will lead to the ongoing spaghettification of toolchains.

[1] https://github.com/vercel/next.js/discussions/65625



React/Vue/Svelte/... are pretty nice ideas and the required tooling to make them work on top of CoreJS is not that extensive of an effort. The main issue is the complexity introduced by building everything and anything on top of each other as you described.

In the C world, most tools are orthogonal. The compilers don't need to know about the design of the package managers and the task runners don't care about either. Yes, we have glue tooling, but that is also and external project and the dependencies are interfaces instead of monkey-patching each other.


Fine, then, I'll amend: that mess is still ongoing outside people who choose to not use this toolchain for one reason or another.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: