News for hackers. Stuff that matters.
Re:Ask HN: Why does validating a user require 14000 files? by ramblerman on Monday August 30, 2021 @05:32AM (#28354052)
> I tried removing unnecessary services from composer.json. Still 14000+ files.

Ugh, please don't do that. The whole point of using this SDK is that people can trust it works, and if there are bugs you can just bump your dependency.

It's a fair point to make that libraries are bloated these days, but manually hacking down dependencies, or re-inventing the wheel are far worse practices!

Re:Ask HN: Why does validating a user require 14000 files? by pritambaral on Monday August 30, 2021 @06:42AM (#28354366)
> ... manually hacking down dependencies, or re-inventing the wheel are far worse practices!

Disagree. Allowing such bloat to permeate your codebase, and supporting such practices as this fat SDK, are far worse. Short-term gain vs long-term loss.