An overwhelming number of frameworks and tooling available today gives the impression that web development has gotten perhaps too complex. Juan Diego Rodríguez explores if web development really is that complex and, most importantly, how we can prevent it from getting even more difficult than we alr...
Web Development Is Getting Too Complex, And It May Be Our Fault
No shit. Start by removing all pre-processors, "compilers" and other bullshit and things might get decent again. We don't need those anymore in ES6/7 what we need is decent frameworks that do things natively instead of relying on compilation.
What are we talking about? If we can't write a pure JS application that runs on a browser without performance issues than the problem is most likely the code and not the fact that it isn't compiled. It's not like an extra 500KB of data will slow down anything on a world where people have 12GB of RAM on phones and gigabit speeds on almost everything.
I believe the price we pay by going into the compile/build is much larger than those few KB. Today everything works, tomorrow half of your compilation steps are broken because xyz package is no longe available, dead, replaced... JS was meant to be interpreted not compiled.
Look I get that this compile/build hype in JS resulted from the fact that people wanted to workaround missing features on the language, I also get that it may make development faster but now in 2024 we should really reconsider this and simplify things. JS and CSS evolved a LOT.
It's more to do with larger teams. Frameworks should make it easier for multiple people to work on a codebase. As well as allowing much larger apps with less complexity.