Quantcast
Channel: Telerik Blogs
Viewing all articles
Browse latest Browse all 5210

30 Days of TDD – Day 28 – Reader Question #4

$
0
0
Robert Pack asks I noticed from the first installment of the series that you say you write classes and methods so that they only just pass tests and no more, cutting down on dead code and zombie bugs. Where does this fit into some peoples’ rules for methods having a maximum number of lines etc? Do you think that’s a completely unrealistic limit to place on methods and that they will be as long as they have to be or do you subscribe to keeping methods below a certain size? I’m interested to hear your thoughts on this.

Viewing all articles
Browse latest Browse all 5210

Trending Articles