Click here to Skip to main content
15,900,906 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.

 
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 
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 
Mike Winiberg wrote:
Having multiple copies of similar, but not quite the same, code is just asking for trouble, especially as a generic logic error may not manifest in the same way in all duplicates.


Good point and what I'm trying to avoid.

This is the approach I'm taking for now as it's too early to optimize / refactor at this stage. It's an Angular project, so I might break the UI into smaller components, but leave the logic in the main / parent component.
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 
GeneralIf you are toward the poles... Pin
David O'Neil11-Oct-21 13:11
professionalDavid O'Neil11-Oct-21 13:11 
GeneralLightning points up Pin
David O'Neil11-Oct-21 13:09
professionalDavid O'Neil11-Oct-21 13:09 
GeneralRe: Lightning points up Pin
Nelek11-Oct-21 20:44
protectorNelek11-Oct-21 20:44 
GeneralRe: Lightning points up Pin
Chris C-B11-Oct-21 21:19
Chris C-B11-Oct-21 21:19 

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.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   496 votes