Monkey Patching 101

1 · Torben Dury · Sept. 9, 2022, midnight
Monkey patching allows you to modify your code functions at runtime. Have a look into it to grasp the advantages and use cases. Introduction Monkey patching (probably derived from guerrilla patching - a practice of changing code in a sneaky way - and then by homophony becoming gorilla) is a way for developers to modify (and extend!) software while it is running. You can find it e.g. when programming Python. Practical Examples So, we can modify code in runtime. Why should we? Let’s go through som...