Skip to main content

Timeline for How large is ok for a Class?

Current License: CC BY-SA 2.5

3 events
when toggle format what by license comment
Oct 14, 2010 at 16:45 comment added dash-tom-bang I don't think that different classes should ever touch each other's private parts. While 'friend' access is convenient for getting something up and running, (for me) it's a stepping stone to a better design. In general I avoid accessors too, since depending on another class's internals is another Code Smell.
Oct 14, 2010 at 0:53 comment added Billy ONeal +1 -- good rules of thumb but not being authoritarian about it. I would say however that just because a class is broken up doesn't mean that the different classes should be touching each others' private members.
Oct 14, 2010 at 0:40 history answered dash-tom-bang CC BY-SA 2.5