3 ms·
Look I happen to agree about refactoring, but my point was that the authors reasons do matter in the context of an organization or the community, even if they d
by dwg 9y ago
Look I happen to agree about refactoring, but my point was that the authors reasons do matter in the context of an organization or the community, even if they don't matter to you as an individual. If there is a best practice here (which is far from decided from this article along) then it's a worthwhile point to bring up for discussion because while you can't control, you can hope to influence.
Also your point about tree-shaking is incorrect as it endeavors to apply to dependencies as well.
Finally, even without default exports one can still import the entire package with import *, so I don't see how it would lead to the same "problem" of a huge import declaration in Java.
In any case I _do_ agree that the authors suggestion should not be taken as a substitute for refactoring, but discussing this as a possible best practice is NOT mutually exclusive to this belief.