3 ms·
Ruby-style monkey-patching just seems like an awful idea. I cringe when I see it used in JavaScript, though it is less and less often seen in the wild now that
by megaman22 9y ago
Ruby-style monkey-patching just seems like an awful idea. I cringe when I see it used in JavaScript, though it is less and less often seen in the wild now that browsers are less terrible and we tend to use babel and other transpilers instead of having to shim and polyfill around the more broken parts of the language.
- hxegon 9y agoIt's really not as bad as people make it out to be. Really handy when you need it, and there are limiting mechanisms (refinements) for when you don't.