News for hackers. Stuff that matters.
Re:How to build an NPM worm by Kalium on Friday July 13, 2018 @01:50AM (#17520782)
They make a lot of sense to people who like to think functionally. If you view modules as providing functions that you can composite into whatever it is that you need, micromodules are appealing because they offer just want you need and nothing more.
Re:How to build an NPM worm by krapp on Friday July 13, 2018 @10:19AM (#17523159)
>micromodules are appealing because they offer just want you need and nothing more

But people don't import micromodules, they import entire dependency trees of arbitrary depth full of micromodules. The greater simplicity of the modules ironically leads to greater complexity in practice.

Re:How to build an NPM worm by Kalium on Friday July 13, 2018 @12:46PM (#17524504)
You're right.

Personally, I think this is an example of a failure of some people to appreciate the consequences of their preferences.