3 ms·
I vividly remember how I was told that you could write "2.years" in RoR. So, if you copy that code snippet and run it as an independent script, it would just n
by hnfong 3y ago
I vividly remember how I was told that you could write "2.years" in RoR.
So, if you copy that code snippet and run it as an independent script, it would just not work because it was a RoR monkey patch method.
Worse, the implicit imports mean that unless you have a global view of which files and gems are require-d, you don't know what your code is actually going to do.
That, and coworkers suddenly feeling at liberty to override `method_missing`, abusing `bindings`, and all that stuff, makes it really hard to like the language if only for its tendency to bring out the worst in people.