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

Design and Architecture

 
GeneralRe: simple Source code managment software (free?) Pin
Paul Conrad23-Aug-08 20:09
professionalPaul Conrad23-Aug-08 20:09 
GeneralRe: simple Source code managment software (free?) Pin
Mark Churchill24-Aug-08 17:28
Mark Churchill24-Aug-08 17:28 
AnswerRe: simple Source code managment software (free?) Pin
Steven A. Lowe13-Sep-08 16:54
Steven A. Lowe13-Sep-08 16:54 
QuestionArguments Pin
CodingYoshi18-Aug-08 10:53
CodingYoshi18-Aug-08 10:53 
AnswerRe: Arguments Pin
Robert.C.Cartaino19-Aug-08 7:54
Robert.C.Cartaino19-Aug-08 7:54 
QuestionIndex Server search algorithms - or something like it... Pin
Michael Yeaney16-Aug-08 17:09
Michael Yeaney16-Aug-08 17:09 
AnswerRe: Index Server search algorithms - or something like it... Pin
Pete O'Hanlon17-Aug-08 9:13
mvePete O'Hanlon17-Aug-08 9:13 
QuestionMethod Parameters Pin
CodingYoshi15-Aug-08 4:06
CodingYoshi15-Aug-08 4:06 
Hi,

I often ponder upon this. If I have a class with, lets say, 10 methods and about 6 of these methods need the same variable, is it a good idea to pass those variables as arguments to these methods? It just does not make sense to make this a member variable, in my opinion, as it has nothing to do with the state of the object, but only needed by these methods.

What should I do in such a case? Should I pass them as arguments or should I declare them as member variables?

Thanks before hand
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 
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 

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.