News for hackers. Stuff that matters.
Re:Responsible Monkeypatching in Ruby by quetzthecoatl on Friday August 27, 2021 @07:38AM (#28326501)
Open classes are against SOLID principles (O stands for - classes should be extendable, but not modifiable). So, a big no in some circuits. Aside from open classes, ruby also have instance_eval and class_eval taking to violating that principle to whole new level.

There are no comments on this comment yet.