Is javascript monkey patching a thing? It's possible but I feel like it's discouraged from becoming a common practice. Also, is the name "monkey patching" racist?
@edavies @meredith_matthews oh! Polyfills. Of course. Duh. I should have thought of that. (I never, ever use polyfills)
@meredith_matthews No, the term comes from an actual monkey that they connected to a computer through a hard disk drive interface, and forgot to disconnect for testing.
@deshipu @meredith_matthews a scsi monkey sounds like a 15 dollar cocktail with baileys in it.
@meredith_matthews I have heard that "monkey patching" was a replacement for the earlier term, "duck punching" but I don't know if that's actually true.
@gdorn @meredith_matthews I don't think I care. Headcannon accepted.
@meredith_matthews
Yes, JavaScript monkey patching is a thing. Most common use, though, is fairly benign: adding implementations of modern methods (like Array's forEach) when the environment doesn't provide them (yet).