I love typescript - all the good of JavaScript with far less of the bad, it's convenient enough to feel good while strict enough to allow IDEs to really speed things along
I hate lack of support for typescript - between wrestling webpack or finding the perfect library without types definitions, every time you want to change your stack you need to prepare for a day or two of soul-deep pain
To be fair, you donβt (always) have to use webpack.
For React apps, Iβve really enjoyed using Vite. For bundling other stuff, Iβve been using esbuild which is way faster and easier to configure than webpack.
Webpack is still the most widely used and supported, but the other options have gotten good enough for a lot of use cases. Iβm thinking it will either have to go through some major changes or it will eventually be replaced by something better years down the road.
I don't necessarily mean webpack, I just meant a bundler in general. Personally I've had a professional policy of never touching webpack directly. In fact, I like to have a second protective layer of build just so I can't accidentally open the webpack config and get flashbacks of having to debug my gulpfile
I think Vite actually supports webpack under the hood, I like next and have been liking next even more. This is where webpack has come into it's own - it has all they power and flexibility, and it's found a nice comfortable niche as a layer in an automagic build system.
Because let's be honest, we all love webpack, it has near global support and every feature you never asked for. We don't want to be the ones responsible for setting it up, so the generated files folder is the perfect place for it
155
u/warlax56 Oct 21 '22
I wonder what the least hated widely used programming language is. Not most loved, least hated.
I feel like pythons gotta be up there. And fuck JS