News for hackers. Stuff that matters.
Re:Ask HN: When does it make sense to roll your own X? by knbknb on Sunday July 14, 2019 @06:22AM (#20432706)
Polyfilling is also some kind of "roll-your-own X".

https://en.wikipedia.org/wiki/Polyfill_(programming)

In web programming, it might sometimes be useful to write your own polyfill when you need to add a single feature for backward-compatibility reasons. Well, a third-party polyfill library that provides that missing feature perfectly might be available. However, the library is too big (with respect to file size) or adds too much complexity during the build process (by pulling in lots of other dependencies).

There are no comments on this comment yet.