Comment

Comment by klyonrad

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.

parent klyonrad 6 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton