Running around patchingcode is error prone and adds to the test burden.
围着补丁代码转圈很容易导致错误,还会增加测试负担。
2
Subsequent executions, of course, will benefit from the result of patching the code so that the instance or static field, or method target, is more directly referenced.
当然,后续执行将从修补代码中获益,从而可以更直接地引用实例、静态字段或方法目标。
3
I also found I was by-passing or monkey-patching bits of Rails code, essentially changing the expected behavior of the framework, so it didn't necessarily play well with others in the Rails world.