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
Eddy Vluggen12-Oct-21 10:24
professionalEddy Vluggen12-Oct-21 10:24 
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 
I don't know how it fits in your dev environment, but I've had success with a hybrid approach.
Basically a couple of large include files that do all the scaffolding, UI layout etc.
Each form includes them, calls the setup routines with appropriate page titles, etc.
Then has its own logic to handle the fields specific to that form.

So, basically, abstracting into (one or more) separate files, the stuff that is common to all the forms.

hth
Peter
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012

AnswerRe: Duplication vs. Complexity Pin
Jon McKee12-Oct-21 0:13
professionalJon McKee12-Oct-21 0:13 
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 

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