monkey icon indicating copy to clipboard operation
monkey copied to clipboard

But... Why?

Open quenbyako opened this issue 3 years ago • 3 comments

Monkey patching is a total evil in programming (except too specific cases, which are still not an argument)... For god sake, why did you publish that?

Also, looks like you didn't read original monkeypatching library license:

Don't use it.

Even author answered, why monkeypatching must not be exist in this world


I also must note you, that publishing projects in opensource is awesome thing, more opensourced projects — better life for developers. But it's better to keep code quality in opensource projects, cause if we won't look on code quality, opensource will become an evil too. Which is unacceptable/

quenbyako avatar Apr 04 '22 15:04 quenbyako

Evil for what? Have you ever used it? Monkey patching is evil if you abuses it.But for testing, I don't see there is any problem with it.

xhd2015 avatar Mar 28 '24 23:03 xhd2015

@xhd2015 nope, using monkeypatching in tests is more evil than ever, cause if you do something like this in even in tests... Well, you got some problems with architecture for sure.

quenbyako avatar Apr 02 '24 15:04 quenbyako

You don't even have experience about it.

xhd2015 avatar Apr 02 '24 15:04 xhd2015