rem’s avatarrem’s Twitter Archive—№ 71,279

  1. …in reply to @rauschma
    rauschma ljharb Also "The term shim means roughly the same thing as polyfill." I'd say is incorrect. Or certainly not the original intention. A polyfill aims to be indistinguishable from the native functionality. A shim often brings its own API, own install process, and own side effects.
    1. …in reply to @rem
      rauschma ljharb Of course the original context was a browser. So being in node muddles things slightly (ie. Authors in node would opt in to global method pollution, or pull a dangled method - promise is a great example)