Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

monkey patch en · 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).

Meanings

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

Forms

SpellingFeaturesLabelsSource
monkeypatch alternative lexicographic
monkey patches Number=Plur lexicographic
monkey-patch alternative lexicographic

monkey patch en · 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).

Meanings

  1. (slang, transitive) 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):

Forms

SpellingFeaturesLabelsSource
monkey patching Tense=Pres, VerbForm=Part lexicographic
monkey patches Number=Sing, Person=3, Tense=Pres lexicographic
monkey patched Tense=Past, VerbForm=Part lexicographic
monkey patched Tense=Past lexicographic
monkeypatch alternative lexicographic
monkey-patch alternative lexicographic