News for hackers. Stuff that matters.
Re:Green Lumber Fallacy in Software Engineering by mehrdada on Friday January 14, 2022 @03:15AM (#29931792)
> In a dynamic language like JS, you'd search for "Graph theory algorithms library" and probably find one with ten million downloads, investigate the maintainer a bit, and use it.

Mmm... `leftpad`

Re:Green Lumber Fallacy in Software Engineering by eternityforest on Friday January 14, 2022 @03:26AM (#29931874)
Left-pad was as far as I know written by one person. Had they used underscore or lodash or any of those bazillions of utility libraries out there, that have real code review, and are actually making money, this would be way less likely.

That's why I'd look for a graph algorithms library first, not a topo sort specifically, I'd be looking for larger one size fits all libs likely to be maintained by a larger group and have more eyeballs on them.