Skip to content

Comment on An easier way of using polyfillsparent

Comments

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."
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.

Well, there's "shim"....

What did the [deleted] parent comment say?

It 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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.