2
User
Recs.
Recs.
4
Updates
Last
Updated
Updated
Activity
48 Options
MonkeyPatching is the art of working around a bug or flaw (or feature) in third party code, by modifying their classes on the fly (at runtime), in order to achieve the desired results.
Specs
Pros
Know any positive aspects of this option?
Cons
Con Can easily go sideways in the wrong hands
Modifying the base String to add a class it does not possess is one thing, but subtly modifying String's existing classes can lead to nightmare debugging for other developers of that codebase.
Know any negative aspects of this option?
Recommendations
Monkeypatching
Recommended 7 years ago
Maxim hasn’t added their experience, pros or cons to their recommendation.
Monkeypatching
Recommended 7 years ago
G. hasn’t added their experience, pros or cons to their recommendation.