News for hackers. Stuff that matters.
Re:RuboCop 0.80: Ruby static code analyzer and code formatter by klyonrad on Thursday February 20, 2020 @09:31AM (#22375289)
Personally, I mostly set the length to 15 lines because too often 10 lines maximum just doesn't work in real life codebases

> Do Rubyist really write code like this as a second nature?

In my opinion yes, only the "old timers" that came from some other technologies write these annoyingly long methods (with many temp variables) and then they "wine" about rubocop.

> I mean, if I have to jump around half a dozen different methods and classes every time I look at a method, does it really help comprehension at all?

If you have to jump around, then the method names were chosen badly.

There are no comments on this comment yet.