Is monkeypatching considered good programming practice?
Posted
by
vartec
on Programmers
See other posts from Programmers
or by vartec
Published on 2012-04-16T09:34:04Z
Indexed on
2012/04/16
11:44 UTC
Read the original article
Hit count: 386
I've been under impression, that monkeypatching is more in quick and dirty hack category, rather than standard, good programming practice. While I'd used from time to time to fix minor issues with 3rd party libs, I considered it temporary fix and I'd submit proper patch to the 3rd party project.
However, I've seen this technique used as "the normal way" in mainstream projects, for example in Gevent's gevent.monkey
module.
Has monkeypatching became mainstream, normal, acceptable programming practice?
© Programmers or respective owner