DEV Community

Discussion on: The Great C# Regions Debate

Collapse
 
scotthannen profile image
Scott Hannen

Those are good rules, although I'd be way more restrictive. Yes, they are arbitrary numbers. They are pulled from thin air. I prefer no more than 15 lines per method.
Those arbitrary limits are important. If you can't have a 30 line method then you can't have a 200 line method.