3 ms·
A monolithic standard library would be ideal in a utopia where nothing changes over time. Unfortunately, the reality is much different. New technologies, new a
by EvanPlaice 11y ago
A monolithic standard library would be ideal in a utopia where nothing changes over time.
Unfortunately, the reality is much different. New technologies, new approaches, new constraints are introduced all the time.
Monolithic architectures grow to the point where they eventually collapse under their own technical debt. Unless, there is a very active core of mai tainers that aggressively deprecate old APIs over time.
Javascript doesn't try to be the end-all be-all solution. Ot provides an blank slate and a decent set of standard tooling for devs to build and compose modular components.
Sure, the degree of experimentation can get ridiculous at times but nobody is forcing you to use the latest/greatest modules/libraries. Nobody is forcing you to transpile to ES/Typescript/Clojure.
You can totally get away with creating static table based layouts in FrontPage if you want. Except, the devs using all those fancy new tools will be running laps around you and producing. 100x the output.
There's no doubt that JS could use a better foundation as a language and much of it is coming in ES6/7. Managing complexity won't be so difficult once the module loader standard is available. JSPM already provides a leek into the future.
It's kind of ironic that you use a naturalist as an example. If nature followed a centralized monolithic design approach (ie intelligent design) rather than natural evolution, Earth's atmosphere would still be nitrogen based and we wouldn't exist to axe grind over the minutiae of programming.
In fact, I'd argue that monolithic design has had great success in spite of resource scarcity because Moore's law hadn't reached a ceiling yet.