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.

 
GeneralRe: how to remove these bugs? Pin
DerekT-P12-Oct-21 11:56
professionalDerekT-P12-Oct-21 11:56 
GeneralRe: how to remove these bugs? Pin
Gerry Schmitz12-Oct-21 8:14
mveGerry Schmitz12-Oct-21 8:14 
GeneralRe: how to remove these bugs? Pin
David Crow12-Oct-21 17:25
David Crow12-Oct-21 17:25 
GeneralRe: how to remove these bugs? Pin
BillWoodruff12-Oct-21 18:09
professionalBillWoodruff12-Oct-21 18:09 
GeneralIBM Contact Manager Pin
  Forogar  12-Oct-21 6:00
professional  Forogar  12-Oct-21 6:00 
QuestionDuplication vs. Complexity Pin
Jacquers11-Oct-21 23:29
Jacquers11-Oct-21 23:29 
AnswerRe: Duplication vs. Complexity Pin
Peter_in_278011-Oct-21 23:54
professionalPeter_in_278011-Oct-21 23:54 
AnswerRe: Duplication vs. Complexity Pin
Jon McKee12-Oct-21 0:13
professionalJon McKee12-Oct-21 0:13 
Depends on your stack, requirements, etc but in something like Angular, component composition would be a good solution to this problem. The idea being you have each of the specific components for the request types that deal with their specific stuff, and they include the common component in their template to handle common stuff, communicating with it through @Input and @Output bindings.

Of course this assumes the common component is actually common. If it just so happens that it's common right now then it's not really common and I'd go with duplication instead. Otherwise that common component will end up accruing so much special-behavior-spaghetti over time it'll become unmanageable.

Those are my initial thoughts at 5am at least. Reader beware Laugh | :laugh:
AnswerRe: Duplication vs. Complexity PinPopular
Kornfeld Eliyahu Peter12-Oct-21 0:37
professionalKornfeld Eliyahu Peter12-Oct-21 0:37 
AnswerRe: Duplication vs. Complexity PinPopular
Mircea Neacsu12-Oct-21 0:57
Mircea Neacsu12-Oct-21 0:57 
GeneralRe: Duplication vs. Complexity Pin
Jacquers12-Oct-21 1:01
Jacquers12-Oct-21 1:01 
GeneralRe: Duplication vs. Complexity Pin
Kornfeld Eliyahu Peter12-Oct-21 1:08
professionalKornfeld Eliyahu Peter12-Oct-21 1:08 
GeneralRe: Duplication vs. Complexity Pin
Mircea Neacsu12-Oct-21 1:18
Mircea Neacsu12-Oct-21 1:18 
GeneralRe: Duplication vs. Complexity Pin
Daniel Pfeffer12-Oct-21 3:33
professionalDaniel Pfeffer12-Oct-21 3:33 
GeneralRe: Duplication vs. Complexity Pin
gggustafson13-Oct-21 7:11
mvagggustafson13-Oct-21 7:11 
GeneralRe: Duplication vs. Complexity Pin
Mircea Neacsu13-Oct-21 7:25
Mircea Neacsu13-Oct-21 7:25 
GeneralRe: Duplication vs. Complexity Pin
gggustafson13-Oct-21 7:56
mvagggustafson13-Oct-21 7:56 
GeneralRe: Duplication vs. Complexity Pin
Mircea Neacsu13-Oct-21 8:32
Mircea Neacsu13-Oct-21 8:32 
JokeRe: Duplication vs. Complexity Pin
Maximilien12-Oct-21 1:48
Maximilien12-Oct-21 1:48 
GeneralRe: Duplication vs. Complexity Pin
Jacquers12-Oct-21 2:02
Jacquers12-Oct-21 2:02 
AnswerRe: Duplication vs. Complexity Pin
Nagy Vilmos12-Oct-21 1:54
professionalNagy Vilmos12-Oct-21 1:54 
GeneralRe: Duplication vs. Complexity Pin
Nelek12-Oct-21 4:31
protectorNelek12-Oct-21 4:31 
AnswerRe: Duplication vs. Complexity Pin
GuyThiebaut12-Oct-21 2:21
professionalGuyThiebaut12-Oct-21 2:21 
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 

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   495 votes