Click here to Skip to main content
16,004,944 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: How far is to far for separation of concerns? Pin
GateKeeper2215-Nov-11 6:46
GateKeeper2215-Nov-11 6:46 
GeneralRe: How far is to far for separation of concerns? Pin
jschell16-Nov-11 9:22
jschell16-Nov-11 9:22 
GeneralRe: How far is to far for separation of concerns? Pin
GateKeeper2218-Nov-11 6:21
GateKeeper2218-Nov-11 6:21 
AnswerRe: How far is to far for separation of concerns? Pin
RobCroll27-Nov-11 16:51
RobCroll27-Nov-11 16:51 
AnswerRe: How far is to far for separation of concerns? Pin
gentlegod00125-Dec-11 4:36
gentlegod00125-Dec-11 4:36 
QuestionCould there be a base class for customers, employees and suppliers? Pin
nstk10-Nov-11 2:31
nstk10-Nov-11 2:31 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
CDP180210-Nov-11 2:47
CDP180210-Nov-11 2:47 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
Wayne Gaylard10-Nov-11 2:52
professionalWayne Gaylard10-Nov-11 2:52 
You could have a base class called Contact which would have properties like Name, Address1, Address2, City, Email etc. Then your other classes would Inherit from this class, with the Employee class just having extra Propeties FirstName and Surname, and concatenating these two to provide the Name property, whereas Customer and Supplier would just use Name as Company Name.
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
nstk10-Nov-11 6:04
nstk10-Nov-11 6:04 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
Pete O'Hanlon10-Nov-11 7:37
mvePete O'Hanlon10-Nov-11 7:37 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
jschell10-Nov-11 8:50
jschell10-Nov-11 8:50 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos10-Nov-11 10:25
professionalNagy Vilmos10-Nov-11 10:25 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk13-Nov-11 0:56
nstk13-Nov-11 0:56 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Richard MacCutchan13-Nov-11 1:34
mveRichard MacCutchan13-Nov-11 1:34 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk13-Nov-11 3:36
nstk13-Nov-11 3:36 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Richard MacCutchan13-Nov-11 3:44
mveRichard MacCutchan13-Nov-11 3:44 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk13-Nov-11 4:11
nstk13-Nov-11 4:11 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 0:18
professionalNagy Vilmos14-Nov-11 0:18 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
jschell14-Nov-11 8:09
jschell14-Nov-11 8:09 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 0:29
professionalNagy Vilmos14-Nov-11 0:29 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk14-Nov-11 8:51
nstk14-Nov-11 8:51 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos14-Nov-11 23:06
professionalNagy Vilmos14-Nov-11 23:06 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
nstk15-Nov-11 3:51
nstk15-Nov-11 3:51 
GeneralRe: Could there be a base class for customers, employees and suppliers? Pin
Nagy Vilmos15-Nov-11 4:08
professionalNagy Vilmos15-Nov-11 4:08 
AnswerRe: Could there be a base class for customers, employees and suppliers? Pin
RobCroll13-Nov-11 10:38
RobCroll13-Nov-11 10:38 

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.