3 ms·
I don't see what's stupid about that. Are you suggesting that anytime we want to talk about polyfills, we should instead write the following? #include "confi
by chc 12y ago
I don't see what's stupid about that. Are you suggesting that anytime we want to talk about polyfills, we should instead write the following?
#include "config.h"
// ...
#if !HAVE_FOOBAR
void foobar(...) // missing: implement ourselves
{
}
#endif
Because that's nuts. This usage is actually more useful than the one that's a contraction of "polygon filling."
- Havvy 12y agoWell, there's "shim"....
- RDeckard 12y agoWhat did the [deleted] parent comment say?
- chc 12y agoIt complained that this use of the word "polyfill" was "stupid" because it just referred to the code sample I copied in my comment, and that older programmers would recognize the word as referring to polygon filling operations. Basically, it sounded like the comment author went in expecting an article about rasterization and was upset to find that web developers used the word for something else. Which I'll admit I've also done before on other topics, but you can't begrudge other fields their jargon.
- pimlottc 12y ago> This usage is actually more useful than the one that's a contraction of "polygon filling." Actually, it's a reference to polyester fiberfill (poly-fil), a material used for upholstery, crafts, etc.