monkey patch

noun, verb — 2 senses

monkey patch

noun

Etymology Apparently from earlier guerrilla patch (“code that sneakily changes other code”), understood as gorilla patch. A monkey patch was then a more carefully written instance of such a patch. Or simply derived from monkey (“to mess with”, verb).

1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences Slang A patch which alters the behaviour of a program by forcibly overriding aspects of the original code at runtime.

monkey patch

verb

Etymology Apparently from earlier guerrilla patch (“code that sneakily changes other code”), understood as gorilla patch. A monkey patch was then a more carefully written instance of such a patch. Or simply derived from monkey (“to mess with”, verb).

1

Computing, Engineering, Mathematics, Natural sciences, Physical sciences, Programming, Sciences Slang To alter the behaviour of a program by forcibly overriding aspects of the original code at runtime.

  • Even though that works with some browsers, others provide Anchor objects without click() methods. Add this magic code to your application.js, to Monkey Patch a JavaScript click() event:2007, Philip C. Plumlee, Test Driven Ajax (on Rails):

Entry derived from the Wiktionary, under licence CC BY-SA 4.0 — list of authors.