DEV Community

Discussion on: What's wrong with code in 2022? πŸ€·πŸ»β€β™€οΈ

Collapse
 
dagnelies profile image
Arnaud Dagnelies

Cost of Dev Time > Cost of CPU/Ram/Disk. I think that summarizes it.

Back in the old days, hardware was expensive, hence optimization was crucial. Now that hardware is dirt cheap, what is "optimized" is the developer's time. Bloat is a "natural" side effect of that.

Another source is certainly scope creep, by adding feature after feature, that slowly and silently eat up the resources and grows the codebase.

Collapse
 
mariamarsh profile image
Maria 🍦 Marshmallow

I think that relatively cheap hardware is really one of the reasons.
But what about the features: not all software has significant improvements with each new version. We've already looked at the calculator and websites here, and there are many more examples. In most cases, "new" features do not justify such a large increase in code.