Most Ruby code I've worked with does not follow SOLID principles. Especially the Liskov substitution principle is almost never adhered to when using inheritance as a way of code sharing.
Re:I Love Ruby
by chris12321 on Thursday December 21, 2023 @08:54PM
(#38729976)
Most code doesn't follow SOLID principles.
Because of that a lot of people still have major bad practices set in their heads such as a method shouldn't be longer than 5 lines etc.
Most rails code bases that I have seen usually has had a senior ruby lover refactor things in such a way that one thing is always calling another thing and even though the actual working business logic might be 12 lines which should have been linearly written, is spread across 5 files with objects being new'd up everywhere making it really hard to follow.