Click here to Skip to main content
15,887,350 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: class XXX and class XXXImpl Pin
Pete O'Hanlon27-May-08 9:22
mvePete O'Hanlon27-May-08 9:22 
GeneralRe: class XXX and class XXXImpl Pin
led mike27-May-08 9:47
led mike27-May-08 9:47 
GeneralRe: class XXX and class XXXImpl Pin
Pete O'Hanlon27-May-08 10:01
mvePete O'Hanlon27-May-08 10:01 
GeneralRe: class XXX and class XXXImpl Pin
led mike27-May-08 10:19
led mike27-May-08 10:19 
GeneralRe: class XXX and class XXXImpl Pin
Mark Churchill9-Jun-08 18:21
Mark Churchill9-Jun-08 18:21 
AnswerRe: class XXX and class XXXImpl PinPopular
Shog925-May-08 11:54
sitebuilderShog925-May-08 11:54 
GeneralRe: class XXX and class XXXImpl Pin
Scott Dorman25-May-08 12:36
professionalScott Dorman25-May-08 12:36 
GeneralRe: class XXX and class XXXImpl Pin
Shog925-May-08 12:47
sitebuilderShog925-May-08 12:47 
Scott Dorman wrote:
there are other ways to handle this in .NET with the use of the partial keyword

AFAIK, that really only lets you split class definitions across source files, somewhat akin to using macros or #includes in C++. The final, compiled type still contains everything. And since .NET doesn't use header files, you aren't really accomplishing anything by splitting up the source (well, you are, but nothing that matters to clients who shouldn't care about the source anyway).

FWIW, Microsoft used the technique (usually by way of a public bare-bones type and a sealed, internal implementation) all over the place in the framework itself, often for no apparent reason (what, a MIME parser isn't generally useful?!). IMHO, it's a technique that should be used sparingly when at all.


Citizen 20.1.01
'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'

GeneralRe: class XXX and class XXXImpl Pin
Scott Dorman25-May-08 14:12
professionalScott Dorman25-May-08 14:12 
GeneralRe: class XXX and class XXXImpl Pin
Ahmed Charfeddine26-May-08 23:23
Ahmed Charfeddine26-May-08 23:23 
GeneralRe: class XXX and class XXXImpl Pin
Mark Churchill9-Jun-08 18:20
Mark Churchill9-Jun-08 18:20 
QuestionAdvice on Architecture for customized application Pin
ruben ruvalcaba20-May-08 4:20
ruben ruvalcaba20-May-08 4:20 
AnswerRe: Advice on Architecture for customized application Pin
Mycroft Holmes23-May-08 1:13
professionalMycroft Holmes23-May-08 1:13 
GeneralRe: Advice on Architecture for customized application Pin
ruben ruvalcaba23-May-08 4:47
ruben ruvalcaba23-May-08 4:47 
AnswerRe: Advice on Architecture for customized application Pin
Scott Dorman25-May-08 2:19
professionalScott Dorman25-May-08 2:19 
GeneralRe: Advice on Architecture for customized application Pin
ruben ruvalcaba26-May-08 4:46
ruben ruvalcaba26-May-08 4:46 
GeneralRe: Advice on Architecture for customized application Pin
Scott Dorman26-May-08 5:09
professionalScott Dorman26-May-08 5:09 
Question'Dynamic' String Formatting Pin
HoltDan18-May-08 15:07
HoltDan18-May-08 15:07 
AnswerRe: 'Dynamic' String Formatting Pin
led mike19-May-08 4:58
led mike19-May-08 4:58 
GeneralRe: 'Dynamic' String Formatting Pin
HoltDan19-May-08 5:50
HoltDan19-May-08 5:50 
GeneralRe: 'Dynamic' String Formatting Pin
led mike19-May-08 6:08
led mike19-May-08 6:08 
GeneralRe: 'Dynamic' String Formatting Pin
Roger Alsing20-May-08 4:06
Roger Alsing20-May-08 4:06 
GeneralRe: 'Dynamic' String Formatting Pin
Scott Dorman25-May-08 2:31
professionalScott Dorman25-May-08 2:31 
QuestionHelp with a inheritance best practices question Pin
turnergg18-May-08 8:20
turnergg18-May-08 8:20 
AnswerRe: Help with a inheritance best practices question Pin
led mike19-May-08 4:51
led mike19-May-08 4:51 

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.