unsupervised web dev is a user on mastodon.technology. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.
unsupervised web dev @meredith_matthews

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?

@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).

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