Joke Collection Website - Cold jokes - What is a monkey sticker?

What is a monkey sticker?

In Python language, there is a word "monkey-patches", which literally translates as "monkey patches". The two parts of this compound word are common words in terms of its single part: monkey and patch; So what exactly does monkey spot mean?

As far as etymology is concerned, this compound word should be a kind of Lu Yuhai similar to Chinese:

According to Wikipedia, the word seems to come from guerrilla patches, which means quietly referring to changed code at runtime. As a result, guerrillas turned into gorillas, and gorillas turned into monkeys. The purpose seems to be not to make the patch too conspicuous.

The definition of this word also varies from context to context. In Python, it only refers to dynamically modifying the class in the existing way according to the intention of the patch at run time, as a defect in the external class or a workaround that no longer meets the characteristics of your design. Other forms of modifying classes at runtime have different names according to their contents. For example, in Zope and Plone, security patches are often made by dynamically modifying classes, but they are called hot patches.

In Ruby, it means any dynamic modification of a class, and is usually used as a synonym for dynamically modifying any class at runtime.

Some people use ducks to punch holes instead of monkeys to patch them, which stems from the extended use of dynamic types in Ruby Python.