简介
定义
以下是维基百科对猴子补丁的定义
The term monkey patch refers to dynamic modifications of a class or module at runtime, motivated by the intent to patch existing third-party code as a workaround to a bug or feature which does not act as desired.
所谓的猴子补丁,是指在运行时修改类或模块,而不去改变源码,达到hot patch的目的。