Developers Rail Against JavaScript 'Merchants of Complexity'
thenewstack.io
thenewstack.io
Ban ‘npm install’
It’s nothing more than a party drug.
Just copy/paste any helper code you need into your ‘libs’ folder and be done with it. Your app will still run in 2044.
The shiny new framework can create a static site and a true web app and is likely well documented with examples. The tradeoff is a subset of users have longer load times.
It's almost easier to learn JEE and Glassfish than stuff such as Next.js...
The argument is to avoid going all-in on Redux by default if you're doing a React project, not telling you to hand-roll your own Redux.
If you're doing a mostly-static site with a few bells and whistles, then HTML and plain old JS will probably do.
I don't know that we spend enough time questioning whether that complexity is necessary.
Because, yes, if we want to transmogrify Web standards largely intended for a static document model into a full-blown application platform then there will definitely be complexity involved. Especially true if we do so while keeping those Web idioms fully surfaced.
But, how often do we really need SPAs versus traditonal Web apps that feature judicious use of dynamic behavior? I doubt that the complexity chasm is frequently worth it.
But, if it is, then we need to commit to standards/frameworks that push down the complexity by abstracting away the underlying Web idioms that create it.
Such a beautiful quote, and really describe well my experience. For the past few months I've been in a team that keeps trying to pull dependencies and library of components for the simplest of things, and trying to argue my point kinda in vain, to the point that I'm starting to get cranky and rant-y about the subject[1].
Need a header on top of our application? Let's use a Angular Material component, why would you code it yourself? Need to display stuff in a grid, oh we better should center our project around Ionic so we can use ion-grid.
More than 'merchant of complexity', I thing that a huge culprit is the need for content marketing, and so any new thing in a framework become the theme of multiple conference, and the obligatory Medium posts explaining the new stuff (in itself, not necessarily a bad thing), but which often tend to snowball into "Method X is obsolete, why you should all port your code using newfangled method Y".
And now, I have a colleague working in an Angular app that keeps on rewriting stuff and wrap everything with signals. Signals can be good sometime, I'm not against angular signals in itself, but he's just taking dead-simple code and making it more complicated because apparently now everything Angular should be about signal. At least I'm away from the part of the React ecosystem that keeps trying to re-invent the cascading part of CSS but with Typescript in the mix. shudders.