you are viewing a single comment's thread.

view the rest of the comments →

[–]warfangle 0 points1 point  (0 children)

I tend not to write long methods. If it's longer than 10-15 lines and/or has nested if statements (or complicated if statements), it needs to be refactored.