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: 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 
AnswerRe: Duplication vs. Complexity Pin
Niels Holst12-Oct-21 22:11
professionalNiels Holst12-Oct-21 22:11 
Since this is turning complex anyway, let the user benefit from it: 

(1) Define all your functional bits as separate classes. 

(2) Create a set-up form, which lets the user define his own forms. 

(3) Set up the four standard forms yourself to get the user started. 

(4) Consider creating a domain-specific language (DSL) to define your set-up. Easy now! This should just be a very simple declarational script with your own syntax. This will allow you (and superusers) to whip out customised forms. Your set-up page (2, above), of course, creates a DSL-script under the hood. The DSL, by the way, makes testing straightforward. The DSL is parsed to create an object tree representing your form.

The user gains flexibility, and you are relieved from hard-coding specific permutations of all the functional bits. -- And the time spent coding will be fun!

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 
GeneralRe: Lightning points up Pin
RickZeeland11-Oct-21 22:16
mveRickZeeland11-Oct-21 22:16 

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