|
-
Mar 21st, 2012, 11:48 AM
#2
Re: When is Lines and methods too much? Classes responsability?
Those are some pretty large classes. However, the problem is one of organization. If the ideal organization really requires that many lines, then so be it, but that is rarely the case. One thing I would say about it is that the one place where I can see a class having a large number of lines is one that is used as some kind of utility to acdess something, and that pretty well describes your situation.
You might be able to break it into a series of classes, where one class handles one kind of information while other classes handle other parts of the information. Alternatively, you could break the class into a series of partial class files. This does nothing for simplifying the actual class, but structures the organization better.
My usual boring signature: Nothing
 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|