|
|
|
|
|
by prescriptivist
1299 days ago
|
|
> Actually doing so breaks the covenant of Data, but an enforced prohibition breaks the language. Fortunately in my almost 20 years of ruby, dark magic does not survive a reasonable amount of sunlight. Most of the time someone (including me) has written impolite ruby, they know what they are doing and why (laziness 90% of the time) and respond appropriately to a gentle prod to be more polite. |
|
Ruby gives you footguns and you can certainly do ill-advised things... but in practice I just don't see it happening very often either in open source projects or in private corporate stuff.
Why?
Because IME there's rarely even a need to go down those paths at all, unless you are writing a framework or doing something else "meta."
99.99% of Ruby I have actually seen is either simple scripts or bog standard OO stuff.