HACKER Q&A
📣 slmjkdbtl

What's the worst software you've encountered?


(long JavaScript-related rant warning)

I recently started to get back to the JavaScript world because I'm trying to get a job at front-end development. I was doing all the workflow stuff to get the thing actually working and for the first time I'm infuriated by a software.

It's a bundler which bundles multiple JavaScript files into one (if you want to use npm packages for frontend you have to use one of these), and this bundler is doing all sorts of things that a bundler shouldn't be doing.

First, it's compiling my code through babel (a JavaScript compiler which compiles the latest language features to an older more supported version), and there's no direct way to turn if off. Why does a bundler need to do this? If I need to use babel to compile my code I would just do it myself run my code through babel, I would never expect a bundler to do this task without my consent.

Second, it's adding direct dependencies to my package.json without my consent or even noticing me. I have an a `import shaderCode from "shader.glsl"` statement to tell the bundler to include the content of this text file to the final code, it does the job but when I look at my package.json again it's adding 2 direct dependencies, "glslify-bundle" and "glslify-dep", i have no idea what these do but they seem to compile my shader code somehow because if I mistakenly write the shader in someway it'll actually fail to bundle. I have no idea why it cannot just do its job at including the content of one text file into another, and leave the correctness of the content to me or dedicated softwares who does this.

It feels like the software is being real rude to me. I like softwares that does ONLY one thing and does it well.


  👤 simonblack Accepted Answer ✓
That rubbish that I write.

👤 hellectronic
Windows 10

👤 randomanon
macOS