Click here to Skip to main content
15,891,607 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Duplication vs. Complexity Pin
Jacquers12-Oct-21 4:06
Jacquers12-Oct-21 4:06 
GeneralRe: Duplication vs. Complexity Pin
Jörgen Andersson12-Oct-21 5:30
professionalJörgen Andersson12-Oct-21 5:30 
GeneralRe: Duplication vs. Complexity Pin
GuyThiebaut12-Oct-21 5:45
professionalGuyThiebaut12-Oct-21 5:45 
AnswerRe: Duplication vs. Complexity Pin
PIEBALDconsult12-Oct-21 3:16
mvePIEBALDconsult12-Oct-21 3:16 
AnswerRe: Duplication vs. Complexity Pin
Fueled By Decaff12-Oct-21 5:38
Fueled By Decaff12-Oct-21 5:38 
GeneralRe: Duplication vs. Complexity Pin
Fueled By Decaff12-Oct-21 5:49
Fueled By Decaff12-Oct-21 5:49 
JokeRe: Duplication vs. Complexity Pin
englebart13-Oct-21 9:31
professionalenglebart13-Oct-21 9:31 
AnswerRe: Duplication vs. Complexity Pin
Sander Rossel12-Oct-21 7:09
professionalSander Rossel12-Oct-21 7:09 
Every time I've re-used UI for multiple forms I've come to regret it.

Ask yourself, who are the stakeholders for every form?
Are they the same? Do they know if another form is changed? Do all forms change at the same time?
If any of your answers is "no" then duplicate them, they look the same (for now), but are functionally different.

I didn't and am now in a situation where one form is evolving while the other isn't and the amount of if-else's is too damn high! Sigh | :sigh:
Now, I only re-use specific elements or components on a page.
Talking web (ASP.NET MVC and Razor Pages) and WinForms experience here (maybe your hybrid approach?).

AnswerRe: Duplication vs. Complexity Pin
Gerry Schmitz12-Oct-21 8:22
mveGerry Schmitz12-Oct-21 8:22 
AnswerRe: Duplication vs. Complexity Pin
BillWoodruff12-Oct-21 18:14
professionalBillWoodruff12-Oct-21 18:14 
AnswerRe: Duplication vs. Complexity Pin
Mike Winiberg12-Oct-21 21:14
professionalMike Winiberg12-Oct-21 21:14 
GeneralRe: Duplication vs. Complexity Pin
Jacquers12-Oct-21 22:12
Jacquers12-Oct-21 22:12 
AnswerRe: Duplication vs. Complexity Pin
Niels Holst12-Oct-21 22:11
professionalNiels Holst12-Oct-21 22:11 
AnswerRe: Duplication vs. Complexity Pin
Kirk 1038982113-Oct-21 4:13
Kirk 1038982113-Oct-21 4:13 
AnswerRe: Duplication vs. Complexity Pin
Dave B 6813-Oct-21 6:17
Dave B 6813-Oct-21 6:17 
AnswerRe: Duplication vs. Complexity Pin
englebart13-Oct-21 9:40
professionalenglebart13-Oct-21 9:40 
AnswerRe: Duplication vs. Complexity Pin
Member 1409260513-Oct-21 23:22
Member 1409260513-Oct-21 23:22 
AnswerRe: Duplication vs. Complexity Pin
Martin ISDN14-Oct-21 7:14
Martin ISDN14-Oct-21 7:14 
AnswerRe: Duplication vs. Complexity Pin
Felix Collins14-Oct-21 10:04
Felix Collins14-Oct-21 10:04 
GeneralCCC 2021-10-12 Pin
Peter_in_278011-Oct-21 22:00
professionalPeter_in_278011-Oct-21 22:00 
GeneralRe: CCC 2021-10-12 Pin
NeverJustHere11-Oct-21 22:30
NeverJustHere11-Oct-21 22:30 
GeneralRe: CCC 2021-10-12 - WINNER! Pin
Peter_in_278011-Oct-21 22:39
professionalPeter_in_278011-Oct-21 22:39 
GeneralRe: CCC 2021-10-12 Pin
pkfox11-Oct-21 23:38
professionalpkfox11-Oct-21 23:38 
GeneralRe: CCC 2021-10-12 Pin
Peter_in_278011-Oct-21 23:45
professionalPeter_in_278011-Oct-21 23:45 
GeneralRe: CCC 2021-10-12 Pin
pkfox12-Oct-21 0:22
professionalpkfox12-Oct-21 0:22 

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.