6 ms·
Especially when the big difference is that Ruby had proper OO system that allowed patching, when necessary, to be done in much saner way... whereas the origin
by p_l 2y ago
Especially when the big difference is that Ruby had proper OO system that allowed patching, when necessary, to be done in much saner way...
whereas the origin of monkey patching seems to by Python with its totally broken magical method names and kitbashed object model.
- x3n0ph3n3 2y agoModule#prepend was introduced in Ruby 2.0, in 2013, which was the solution to monkey patching.
- dragonwriter 2y agoWell, that and Module#refine.