10 ms·
There’s some nuance here. Application and nearly all library code should not do this. (There can be exceptions for libraries, but they should be used sparingly
by samtheprogram 2y ago
There’s some nuance here.
Application and nearly all library code should not do this. (There can be exceptions for libraries, but they should be used sparingly.)
A framework like Rails? A reasonable place to do this sort of stuff, because a framework implies your entire application depends on the framework, and the framework is well managed (otherwise you wouldn’t be using it).
Like you said: “you” shouldn’t do this. I feel like your pain from this comes from someone being too clever, outside of a framework, hijacking core methods and classes.