Click here to Skip to main content
15,391,525 members
Home / Discussions / C#
   

C#

 
AnswerRe: Generics Problems Pin
Eddy Vluggen7-Sep-12 9:46
professionalEddy Vluggen7-Sep-12 9:46 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 10:44
professionalKevin Marois7-Sep-12 10:44 
GeneralRe: Generics Problems Pin
Eddy Vluggen7-Sep-12 10:54
professionalEddy Vluggen7-Sep-12 10:54 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 10:56
professionalKevin Marois7-Sep-12 10:56 
GeneralRe: Generics Problems Pin
Eddy Vluggen7-Sep-12 11:09
professionalEddy Vluggen7-Sep-12 11:09 
AnswerRe: Generics Problems Pin
jschell7-Sep-12 10:39
Memberjschell7-Sep-12 10:39 
GeneralRe: Generics Problems Pin
Kevin Marois7-Sep-12 10:41
professionalKevin Marois7-Sep-12 10:41 
GeneralRe: Generics Problems Pin
jschell8-Sep-12 7:23
Memberjschell8-Sep-12 7:23 
Kevin Marois wrote:
This is an entirely stupid argument.


Nope. I have seen countless attempts by people to combine code based on nothing more than what they perceive as code duplication. That happens a lot with inheritance. It focuses on the duplication instead of focusing on the need.

Kevin Marois wrote:
You're saying it's ok to have 2 entirely duplicate forms and their code becuase the data they work with is different


What I said was that from what you posted here that is the case.

Kevin Marois wrote:
There is NO good reason to have 2 identical forms.


Actually there can be a very good reason. Because they represent two different conceptual entities. Because they are different it can mean that in the future they might go in different directions.

Again code duplication is not the sole criteria that one uses to make this decision. And I gave you a specific example which would demonstrate why one wouldn't do that.

Without more information all I can suppose is that what you really need, if indeed there is a real need at all, is a helper class. It contains the duplicated code. The current implementations would use that.

That however still supposes that there is a real need to combine this code.
AnswerRe: Generics Problems Pin
dbaseman7-Sep-12 21:20
Memberdbaseman7-Sep-12 21:20 
AnswerRe: Generics Problems Pin
Gerry Schmitz8-Sep-12 20:28
mveGerry Schmitz8-Sep-12 20:28 
Questionhow to change the parent of anUIElement Pin
benzarabel7-Sep-12 5:04
Memberbenzarabel7-Sep-12 5:04 
AnswerRe: how to change the parent of anUIElement Pin
Wes Aday7-Sep-12 5:55
professionalWes Aday7-Sep-12 5:55 
AnswerRe: how to change the parent of anUIElement Pin
Clifford Nelson7-Sep-12 7:25
MemberClifford Nelson7-Sep-12 7:25 
QuestionControl won't update Pin
MAW306-Sep-12 16:48
MemberMAW306-Sep-12 16:48 
AnswerRe: Control won't update Pin
Dr.Walt Fair, PE6-Sep-12 17:13
professionalDr.Walt Fair, PE6-Sep-12 17:13 
GeneralRe: Control won't update Pin
MAW306-Sep-12 17:47
MemberMAW306-Sep-12 17:47 
GeneralRe: Control won't update Pin
Dr.Walt Fair, PE6-Sep-12 17:57
professionalDr.Walt Fair, PE6-Sep-12 17:57 
GeneralRe: Control won't update Pin
MAW306-Sep-12 18:11
MemberMAW306-Sep-12 18:11 
AnswerRe: Control won't update Pin
Eddy Vluggen6-Sep-12 18:24
professionalEddy Vluggen6-Sep-12 18:24 
GeneralRe: Control won't update Pin
MAW306-Sep-12 18:44
MemberMAW306-Sep-12 18:44 
QuestionC# process code Pin
sc steinhayse6-Sep-12 10:19
Membersc steinhayse6-Sep-12 10:19 
AnswerRe: C# process code Pin
Dave Kreskowiak6-Sep-12 10:52
mveDave Kreskowiak6-Sep-12 10:52 
QuestionHow to open UNC path to C$ without credentials Pin
robwm16-Sep-12 9:15
Memberrobwm16-Sep-12 9:15 
AnswerRe: How to open UNC path to C$ without credentials Pin
Eddy Vluggen6-Sep-12 18:25
professionalEddy Vluggen6-Sep-12 18:25 
GeneralRe: How to open UNC path to C$ without credentials Pin
PIEBALDconsult7-Sep-12 4:51
professionalPIEBALDconsult7-Sep-12 4:51 

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.