Hacker News new | ask | show | jobs
by p_l 721 days 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.

1 comments

Module#prepend was introduced in Ruby 2.0, in 2013, which was the solution to monkey patching.
Well, that and Module#refine.