News for hackers. Stuff that matters.
Re:NPM – "is-even", 160k weekly downloads by xg15 on Tuesday November 16, 2021 @03:58PM (#29246276)
I don't think dead code elimination would be the end-all to that problem either.

Yes, it reduces the space cost of having dead code in your build artefact, but it doesn't solve the problem of having dead code lying around during development.

The more code is in your dependencies, the more effort you have in auditing - even if it's only to ensure that code is actually dead - and doesn't cause any unexpected side effects or other behaviour in your program.

There are no comments on this comment yet.