Monkey Patching - Simply Explained!

Explanation of the concept without code:

The Operation of a Car

How do you normally start a car? It’s simple: you turn the ignition, the car starts, and voila you’re off to the races!

Monkey Patching a Car

But what if someone else made the car and what if you want to change how it operates?

You don’t need to go to the car manufacturing factory to make those changes: you can simply “monkey-patch” it, by getting under the bonnet and surreptiously and sneakily rewiring things and adding a few incideniaries here and there. You have to really know what you are doing when you do this otherwise the results could be quite explosive – and maybe that’s exactly what you want?

“Fabrizzio, where are you going?”

_config.yml

Written on January 11, 2019