Comment by watwut

5 years ago

I work with long functions right now. It does not give mental cohesion. Instead, it makes it difficult to figure out what author intended to happen.

Or perhaps the length of the function is orthogonal to the quality of the author's code. Make the function as long as necessary to be readable and maintainable by the people most likely to read and maintain it. But that's not a very sellable snippet, nor a rule that can be grokked in 5 minutes.