monkey patch

Hello, you have come here looking for the meaning of the word monkey patch. In DICTIOUS you will not only get to know all the dictionary meanings for the word monkey patch, but we will also tell you about its etymology, its characteristics and you will know how to say monkey patch in singular and plural. Everything you need to know about the word monkey patch you have here. The definition of the word monkey patch will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofmonkey patch, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

Alternative forms

Etymology

Apparently from earlier guerilla 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.[1] Or simply derived from monkey (to mess with, verb).

Noun

monkey patch (plural monkey patches)

  1. (programming slang) A patch which alters the behaviour of a program by forcibly overriding aspects of the original code at runtime.

Verb

monkey patch (third-person singular simple present monkey patches, present participle monkey patching, simple past and past participle monkey patched)

  1. (programming slang, transitive) To alter the behaviour of a program by forcibly overriding aspects of the original code at runtime.
    • 2007, Philip C. Plumlee, Test Driven Ajax (on Rails):
      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:

References

  1. ^ Alexander Limi, Shane Hathaway (2005 December 23) “Monkey patch”, in Plone Foundation, archived from the original on 2008-06-04

Further reading