monkey patch
English
Alternative forms
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.[1] Or simply derived from monkey (“to mess with”, verb).
Noun
monkey patch (plural monkey patches)Category:English lemmas#MONKEYPATCHCategory:English nouns#MONKEYPATCHCategory:English countable nouns#MONKEYPATCHCategory:English multiword terms#MONKEYPATCHCategory:English entries with incorrect language header#MONKEYPATCHCategory:Pages with entries#MONKEY%20PATCHCategory:Pages with 1 entry#MONKEY%20PATCH
- (programmingCategory:en:Programming#MONKEYPATCH slangCategory:English slang#MONKEYPATCH) 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)Category:English lemmas#MONKEYPATCHCategory:English verbs#MONKEYPATCHCategory:English multiword terms#MONKEYPATCHCategory:English entries with incorrect language header#MONKEYPATCHCategory:Pages with entries#MONKEY%20PATCHCategory:Pages with 1 entry#MONKEY%20PATCH
- (programmingCategory:en:Programming#MONKEYPATCH slangCategory:English slang#MONKEYPATCH, transitiveCategory:English transitive verbs#MONKEYPATCH) 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 withoutCategory:English terms with quotations#MONKEYPATCH
click()methods. Add this magic code to yourapplication.js, to Monkey Patch a JavaScriptclick()event:
References
- ↑ Alexander Limi; Shane Hathaway (23 December 2005), “Monkey patch”, in Plone Foundation, archived from the original on 4 June 2008
Further reading
monkey patch on Wikipedia.Wikipedia