4 ms·
My assertion is that, having been made aware of the pitfalls of effectful imports, continuing to argue for using them requires a willful misunderstanding. Peop
by zarathustreal 2y ago
My assertion is that, having been made aware of the pitfalls of effectful imports, continuing to argue for using them requires a willful misunderstanding.
People outside the context of this discussion could simply be uninformed, they don’t need to be willfully misunderstanding.
- tqwhite 2y agoNo. It is a result of a practical, engineering perspective. I love theory. It's necessary for moving the world forward. I also love getting things to work. Three quarters of NPM packages are CJS. Several of them are ones I wrote. The reason they are not ESM is that the theoretically pure folks had control and I voted with my fingers because everything I do has to fit in my a substantial amount of existing CJS code. Arguing for practical solutions that accommodate an imperfect world is absolutely correct.