Hacker News new | ask | show | jobs
by halflife 275 days ago
And then when node is updated and natively supports set intersections you would go back to your copied code and fix it?
2 comments

If it works, why do so? Unless there's a clear performance boost, and if so you already know the code and can quickly locate your interpreted version.

Or At the time of adding you can add a NOTE or FIXME comment stating where you copied it from. A quick grep for such keyword can give you a nice overview of nice to have stuff. You can also add a ticket with all the details if you're using a project management tool and resuscitate it when that hypothetical moment happens.

If you won't, do you expect the maintainer of some micro package to do that?