Click here to Skip to main content
15,919,341 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
AnswerRe: Method Parameters Pin
Pete O'Hanlon15-Aug-08 4:12
mvePete O'Hanlon15-Aug-08 4:12 
QuestionInterfaces Pin
RichardGrimmer13-Aug-08 0:55
RichardGrimmer13-Aug-08 0:55 
AnswerRe: Interfaces Pin
Pete O'Hanlon13-Aug-08 1:02
mvePete O'Hanlon13-Aug-08 1:02 
GeneralRe: Interfaces Pin
RichardGrimmer13-Aug-08 3:15
RichardGrimmer13-Aug-08 3:15 
GeneralRe: Interfaces Pin
Pete O'Hanlon13-Aug-08 10:37
mvePete O'Hanlon13-Aug-08 10:37 
GeneralRe: Interfaces Pin
RichardGrimmer13-Aug-08 21:10
RichardGrimmer13-Aug-08 21:10 
GeneralRe: Interfaces Pin
Scott Dorman16-Aug-08 5:47
professionalScott Dorman16-Aug-08 5:47 
GeneralRe: Interfaces Pin
led mike18-Aug-08 4:55
led mike18-Aug-08 4:55 
RichardGrimmer wrote:
Now I've moved into a more "relaxed" environment, but the code is basically a big morass of procedural code in an object oriented dress - with inheritance implemented using copy and paste lol....


I was on vacation, did you just join my shop? Laugh | :laugh:

RichardGrimmer wrote:
so unless I'm expecting my class to have many clients, there's not really much point in going down the interface route?

I'm clearly missing something here, just not sure what lol!


It sounds like you are missing something but you also said you know the text book definition so this is a bit confusing. In Object Oriented Design an interface is a mechanism of abstraction. So you want to use an interface if it is desirable to abstract the functionality.

RichardGrimmer wrote:
are c# interfaces immutable in the same way that COM interfaces were


First, COM is not Object Oriented Design and there is not generally any reason to compare COM to OOD. Also I am not sure what you mean by immutable. My best guess is that you mean, can you modify an interface, build and distribute the assembly without breaking existing code. While there might be some scenarios where that would work, most of the time I expect it would not.


led mike

GeneralRe: Interfaces Pin
Pete O'Hanlon18-Aug-08 5:43
mvePete O'Hanlon18-Aug-08 5:43 
QuestionRe: Interfaces Pin
led mike18-Aug-08 6:30
led mike18-Aug-08 6:30 
AnswerRe: Interfaces Pin
Pete O'Hanlon18-Aug-08 8:10
mvePete O'Hanlon18-Aug-08 8:10 
AnswerRe: Interfaces Pin
Mark Churchill19-Aug-08 21:21
Mark Churchill19-Aug-08 21:21 
QuestionFind, Acquisition Knowledge From Texts, Like Terminology Extraction Software Pin
486512-Aug-08 5:13
486512-Aug-08 5:13 
QuestionAbout MVP architecture Pin
sreenivasaraok9-Aug-08 7:40
sreenivasaraok9-Aug-08 7:40 
QuestionRe: About MVP architecture Pin
led mike11-Aug-08 4:53
led mike11-Aug-08 4:53 
AnswerRe: About MVP architecture Pin
alex.barylski12-Aug-08 22:45
alex.barylski12-Aug-08 22:45 
QuestionWhat is the proper Domain Model for this relationship? Pin
Togakangaroo7-Aug-08 8:09
Togakangaroo7-Aug-08 8:09 
GeneralMaking a menu editable. Pin
Brady Kelly7-Aug-08 4:46
Brady Kelly7-Aug-08 4:46 
GeneralRe: Making a menu editable. Pin
Pete O'Hanlon7-Aug-08 4:56
mvePete O'Hanlon7-Aug-08 4:56 
GeneralRe: Making a menu editable. Pin
Ray Cassick9-Aug-08 8:04
Ray Cassick9-Aug-08 8:04 
GeneralRe: Making a menu editable. Pin
Brady Kelly11-Aug-08 3:37
Brady Kelly11-Aug-08 3:37 
QuestionCommand pattern implementation for testing Pin
Nathan Gloyn4-Aug-08 4:43
Nathan Gloyn4-Aug-08 4:43 
AnswerRe: Command pattern implementation for testing Pin
led mike5-Aug-08 5:17
led mike5-Aug-08 5:17 
GeneralRe: Command pattern implementation for testing Pin
Nathan Gloyn5-Aug-08 6:10
Nathan Gloyn5-Aug-08 6:10 
GeneralRe: Command pattern implementation for testing Pin
led mike5-Aug-08 6:47
led mike5-Aug-08 6:47 

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.