monkey patch

名词 n. 动词 v.

英文释义

名词 n.
  1. A patch which alters the behaviour of a program by forcibly overriding aspects of the original code at runtime. slang
动词 v.
  1. To alter the behaviour of a program by forcibly overriding aspects of the original code at runtime. slang,transitive
    — 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:

词形变化

monkey patches plural monkeypatch alternative monkey-patch alternative monkey patches present,singular,third-person monkey patching participle,present monkey patched participle,past monkey patched past monkeypatch alternative monkey-patch alternative

词源

词源 1
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).
词源 2
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).
0 次浏览 数据来源: Wiktionary