3 ms·
The rails world is filled with stuff like this: class Something def execute first_method end private def first_method second_method + 1 end def sec
by ilrwbwrkhv 3y ago
The rails world is filled with stuff like this:
class Something
def execute
first_method
end
private
def first_method
second_method + 1
end
def second_method
2
end
end
This should have been just one method instead of thousands of tiny one line methods. I blame Uncle Bob and that whole group for brainwashing the Ruby community.