Re:Functions Should Be Short And Sweet, But Why?
by rtpg on Wednesday January 22, 2014 @03:58AM
(#7101567)
I think most design patterns and 'best practices' exist because, without them being explicit, people will tend to do the opposite. Obviously, there are always use cases where going against the pattern might make sense. But you should be able to justify it.
Would you rather have mostly short functions with a couple long ones or the opposite?
Would you rather have mostly short functions with a couple long ones or the opposite?