Click here to Skip to main content
15,886,110 members
Home / Discussions / C#
   

C#

 
QuestionThis is a style question regarding partial classes Pin
honey the codewitch20-Jul-19 10:40
mvahoney the codewitch20-Jul-19 10:40 
AnswerRe: This is a style question regarding partial classes Pin
BillWoodruff20-Jul-19 11:04
professionalBillWoodruff20-Jul-19 11:04 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch20-Jul-19 11:07
mvahoney the codewitch20-Jul-19 11:07 
GeneralRe: This is a style question regarding partial classes Pin
BillWoodruff20-Jul-19 17:53
professionalBillWoodruff20-Jul-19 17:53 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch20-Jul-19 18:10
mvahoney the codewitch20-Jul-19 18:10 
GeneralRe: This is a style question regarding partial classes Pin
#realJSOP21-Jul-19 3:35
mve#realJSOP21-Jul-19 3:35 
AnswerRe: This is a style question regarding partial classes Pin
Bernhard Hiller21-Jul-19 20:54
Bernhard Hiller21-Jul-19 20:54 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch21-Jul-19 21:05
mvahoney the codewitch21-Jul-19 21:05 
I generally like to keep classes tightly factored like that as well, but sometimes, particularly with non-trivial engine style things, you're going to probably have something that's got a lot of tightly coupled functionality that is nevertheless loosely related and your choices are to break encapsulation, greatly expand the surface area of your interconnected class APIs or encase the functionality all in one class. The latter leads to a much smaller test matrix in cases where it's appropriate.

There's a time and a place for breaking just about every rule of thumb. =)

But that being said, I take your point. In most circumstances we wouldn't disagree, and I'm not sure we would in these cases either.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.

GeneralRe: This is a style question regarding partial classes Pin
Bernhard Hiller21-Jul-19 21:35
Bernhard Hiller21-Jul-19 21:35 
GeneralRe: This is a style question regarding partial classes Pin
honey the codewitch21-Jul-19 21:40
mvahoney the codewitch21-Jul-19 21:40 
Questionhow to read data type in excel Pin
rs1919-Jul-19 6:54
rs1919-Jul-19 6:54 
AnswerRe: C# Pin
Dave Kreskowiak19-Jul-19 8:14
mveDave Kreskowiak19-Jul-19 8:14 
GeneralRe: C# Pin
rs1919-Jul-19 9:38
rs1919-Jul-19 9:38 
GeneralRe: C# Pin
Dave Kreskowiak19-Jul-19 9:49
mveDave Kreskowiak19-Jul-19 9:49 
GeneralRe: C# Pin
BillWoodruff20-Jul-19 6:41
professionalBillWoodruff20-Jul-19 6:41 
GeneralRe: C# Pin
Dave Kreskowiak20-Jul-19 13:30
mveDave Kreskowiak20-Jul-19 13:30 
GeneralRe: C# Pin
BillWoodruff20-Jul-19 17:59
professionalBillWoodruff20-Jul-19 17:59 
AnswerRe: C# Pin
ZurdoDev19-Jul-19 10:12
professionalZurdoDev19-Jul-19 10:12 
AnswerRe: how to read data type in excel Pin
Richard MacCutchan19-Jul-19 21:39
mveRichard MacCutchan19-Jul-19 21:39 
AnswerRe: how to read data type in excel Pin
BillWoodruff20-Jul-19 6:44
professionalBillWoodruff20-Jul-19 6:44 
QuestionWCF UnobservedTaskException Pin
Bernhard Hiller19-Jul-19 2:57
Bernhard Hiller19-Jul-19 2:57 
AnswerRe: WCF UnobservedTaskException Pin
Richard Deeming19-Jul-19 3:40
mveRichard Deeming19-Jul-19 3:40 
GeneralRe: WCF UnobservedTaskException Pin
Bernhard Hiller19-Jul-19 4:24
Bernhard Hiller19-Jul-19 4:24 
GeneralRe: WCF UnobservedTaskException Pin
Richard Deeming19-Jul-19 4:41
mveRichard Deeming19-Jul-19 4:41 
GeneralRe: WCF UnobservedTaskException Pin
Bernhard Hiller21-Jul-19 21:00
Bernhard Hiller21-Jul-19 21:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.