Click here to Skip to main content
15,899,935 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionGot that bad feeling .... Pin
Ray Kinsella5-Apr-07 13:47
Ray Kinsella5-Apr-07 13:47 
AnswerRe: Got that bad feeling .... Pin
Colin Angus Mackay7-Apr-07 0:45
Colin Angus Mackay7-Apr-07 0:45 
GeneralRe: Got that bad feeling .... Pin
Ray Kinsella8-Apr-07 5:38
Ray Kinsella8-Apr-07 5:38 
GeneralRe: Got that bad feeling .... Pin
DavidNohejl10-Apr-07 0:28
DavidNohejl10-Apr-07 0:28 
GeneralRe: Got that bad feeling .... Pin
Pete O'Hanlon10-Apr-07 1:09
mvePete O'Hanlon10-Apr-07 1:09 
GeneralRe: Got that bad feeling .... Pin
DavidNohejl10-Apr-07 1:41
DavidNohejl10-Apr-07 1:41 
GeneralRe: Got that bad feeling .... Pin
Colin Angus Mackay10-Apr-07 2:29
Colin Angus Mackay10-Apr-07 2:29 
AnswerRe: Got that bad feeling .... Pin
DavidNohejl10-Apr-07 0:26
DavidNohejl10-Apr-07 0:26 
Ray Kinsella wrote:
In C++ I would have used defaults instead


Well, C# does not have default parameters, but prefered way to archive same results is with overloads, just like you are doing. Make one DoSomething with paramers a, b, c, d, e that does it all, and provide overloads DoSomething(a,b,c,d) that just calls DoSomething(a,b,c,d,e) with meaningfull "default" value of e, if possible. And the same with DoSomething(a,b,c), etc... If it is not possible then I don't know what you wanted to do with C++ defaults.


"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
"Real men use mspaint for writing code and notepad for designing graphics." - Anna-Jayne Metcalfe

QuestionDocument templates for software development? Pin
wojti5-Apr-07 3:18
wojti5-Apr-07 3:18 
AnswerRe: Document templates for software development? Pin
Paul Conrad4-Nov-07 7:13
professionalPaul Conrad4-Nov-07 7:13 
QuestionMVC question Pin
akkram5-Apr-07 2:23
akkram5-Apr-07 2:23 
AnswerRe: MVC question Pin
Pete O'Hanlon5-Apr-07 3:39
mvePete O'Hanlon5-Apr-07 3:39 
AnswerRe: MVC question Pin
Code_Doctor16-Apr-07 17:17
Code_Doctor16-Apr-07 17:17 
QuestionMembership Provider and Permissions Pin
Tristan Rhodes4-Apr-07 1:27
Tristan Rhodes4-Apr-07 1:27 
AnswerRe: Membership Provider and Permissions Pin
Pete O'Hanlon4-Apr-07 1:59
mvePete O'Hanlon4-Apr-07 1:59 
GeneralRe: Membership Provider and Permissions Pin
Tristan Rhodes4-Apr-07 2:10
Tristan Rhodes4-Apr-07 2:10 
GeneralRe: Membership Provider and Permissions Pin
Pete O'Hanlon4-Apr-07 2:17
mvePete O'Hanlon4-Apr-07 2:17 
QuestionDeisgn issues with Digital signature solution Pin
abcxyz823-Apr-07 2:14
abcxyz823-Apr-07 2:14 
AnswerRe: Deisgn issues with Digital signature solution Pin
Code_Doctor16-Apr-07 17:24
Code_Doctor16-Apr-07 17:24 
QuestionSoftware Architect Pin
Mohammed Derbashi2-Apr-07 20:20
professionalMohammed Derbashi2-Apr-07 20:20 
AnswerRe: Software Architect Pin
Pete O'Hanlon3-Apr-07 1:10
mvePete O'Hanlon3-Apr-07 1:10 
JokeRe: Software Architect Pin
CPallini3-Apr-07 1:50
mveCPallini3-Apr-07 1:50 
AnswerRe: Software Architect Pin
Moak4-Apr-07 12:40
Moak4-Apr-07 12:40 
AnswerRe: Software Architect Pin
Aaron VanWieren4-Apr-07 13:16
Aaron VanWieren4-Apr-07 13:16 
QuestionEfficient Exception Bubbling Pin
Tristan Rhodes2-Apr-07 6:24
Tristan Rhodes2-Apr-07 6:24 

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.