Click here to Skip to main content
15,909,242 members
Home / Discussions / C#
   

C#

 
AnswerRe: What do programmers think about "Fluent Interface's" ? Pin
Pete O'Hanlon6-Mar-11 19:46
mvePete O'Hanlon6-Mar-11 19:46 
GeneralRe: What do programmers think about "Fluent Interface's" ? Pin
venomation6-Mar-11 21:32
venomation6-Mar-11 21:32 
AnswerRe: What do programmers think about "Fluent Interface's" ? Pin
Eddy Vluggen6-Mar-11 20:51
professionalEddy Vluggen6-Mar-11 20:51 
GeneralRe: What do programmers think about "Fluent Interface's" ? Pin
venomation6-Mar-11 21:34
venomation6-Mar-11 21:34 
GeneralRe: What do programmers think about "Fluent Interface's" ? Pin
Eddy Vluggen7-Mar-11 0:12
professionalEddy Vluggen7-Mar-11 0:12 
GeneralRe: What do programmers think about "Fluent Interface's" ? Pin
venomation7-Mar-11 6:00
venomation7-Mar-11 6:00 
GeneralRe: What do programmers think about "Fluent Interface's" ? Pin
Eddy Vluggen7-Mar-11 8:14
professionalEddy Vluggen7-Mar-11 8:14 
AnswerRe: What do programmers think about "Fluent Interface's" ? Pin
jschell7-Mar-11 8:51
jschell7-Mar-11 8:51 
venomation wrote:
What scenarios would you use them in?


I doubt I would ever use them.

Especially since the only touted benefit is that it makes it more 'readable' which is a subjective term that one can use to rationalize almost anything.

venomation wrote:
I use them for objects that require too many arguments or optional inputs.


I don't see that your example has "too many arguments" in the first place.

But generally something that does in fact have too many arguments might have a design problem. And certainly if one sees a lot of code like that (versus say 1 out of 1000) then it would seem very likely that there are design problems.
GeneralRe: What do programmers think about "Fluent Interface's" ? Pin
venomation7-Mar-11 23:28
venomation7-Mar-11 23:28 
AnswerRe: What do programmers think about "Fluent Interface's" ? Pin
PIEBALDconsult7-Mar-11 16:31
mvePIEBALDconsult7-Mar-11 16:31 
Questionitem not found in the table exception Pin
fzerd6-Mar-11 6:45
fzerd6-Mar-11 6:45 
GeneralRe: item not found in the table exception Pin
Praveen Raghuvanshi6-Mar-11 6:59
professionalPraveen Raghuvanshi6-Mar-11 6:59 
GeneralRe: item not found in the table exception Pin
fzerd6-Mar-11 11:02
fzerd6-Mar-11 11:02 
AnswerRe: item not found in the table exception Pin
RaviRanjanKr9-Mar-11 17:31
professionalRaviRanjanKr9-Mar-11 17:31 
Questionproblem with using local language font in the textbox. Pin
prasadbuddhika6-Mar-11 1:29
prasadbuddhika6-Mar-11 1:29 
AnswerRe: problem with using local language font in the textbox. Pin
N a v a n e e t h6-Mar-11 10:15
N a v a n e e t h6-Mar-11 10:15 
QuestionKeyboard Layout Pin
Xelalem5-Mar-11 23:04
Xelalem5-Mar-11 23:04 
AnswerRe: Keyboard Layout Pin
OriginalGriff5-Mar-11 23:29
mveOriginalGriff5-Mar-11 23:29 
AnswerRe: Keyboard Layout Pin
Richard MacCutchan6-Mar-11 1:24
mveRichard MacCutchan6-Mar-11 1:24 
AnswerRe: Keyboard Layout Pin
RaviRanjanKr9-Mar-11 17:39
professionalRaviRanjanKr9-Mar-11 17:39 
Questiona strange question Pin
_Q12_5-Mar-11 16:05
_Q12_5-Mar-11 16:05 
AnswerRe: a strange question Pin
OriginalGriff5-Mar-11 21:17
mveOriginalGriff5-Mar-11 21:17 
GeneralRe: a strange question Pin
_Q12_6-Mar-11 1:22
_Q12_6-Mar-11 1:22 
GeneralRe: a strange question Pin
OriginalGriff6-Mar-11 1:25
mveOriginalGriff6-Mar-11 1:25 
GeneralRe: a strange question Pin
_Q12_6-Mar-11 1:34
_Q12_6-Mar-11 1:34 

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.