3 ms·
How much time will be saved by using a minifier that actually supports the javascript language. How much time would be saved by widespread use of "The Good Par
by stcredzero 15y ago
How much time will be saved by using a minifier that actually supports the javascript language.
How much time would be saved by widespread use of "The Good Parts" of Javascript? This is likely to be much larger than the time you propose.
How much mental effort is needed to support half a dozen different minifiers that all support a different subset of the language
Who says you have to? If the community as a whole started omitting the hairy parts of the language, they would tend to converge on the same core. A superset of the 5 or 6 most popular subsets is still going to be a lot cleaner than the whole hairball. In practice, this is about the coverage that just about any language gets from tools like compilers and code transformers -- after all, the serious tools pretty much all have bugs. A superset of the 5 or 6 most popular language subsets is all anyone gets in practice.