Click here to Skip to main content
15,947,523 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Front-end for circuit simulation software Pin
Gerry Schmitz18-Apr-18 7:30
mveGerry Schmitz18-Apr-18 7:30 
GeneralRe: Front-end for circuit simulation software Pin
pcardoso7323-Apr-18 23:07
pcardoso7323-Apr-18 23:07 
GeneralRe: Front-end for circuit simulation software Pin
Gerry Schmitz24-Apr-18 7:16
mveGerry Schmitz24-Apr-18 7:16 
QuestionWhat are your experiences working with 'meaning' in code? Pin
jonrgrover11-Apr-18 6:45
jonrgrover11-Apr-18 6:45 
AnswerRe: What are your experiences working with 'meaning' in code? Pin
Eddy Vluggen11-Apr-18 7:02
professionalEddy Vluggen11-Apr-18 7:02 
AnswerRe: What are your experiences working with 'meaning' in code? Pin
Mycroft Holmes11-Apr-18 14:15
professionalMycroft Holmes11-Apr-18 14:15 
AnswerRe: What are your experiences working with 'meaning' in code? Pin
Peter_in_278011-Apr-18 18:16
professionalPeter_in_278011-Apr-18 18:16 
AnswerRe: What are your experiences working with 'meaning' in code? Pin
Gerry Schmitz12-Apr-18 5:40
mveGerry Schmitz12-Apr-18 5:40 
I get what you "mean".

I've transitioned to using mostly "getters"; instead of coding logic "inline".

e.g. if ( zone.IsRunning ) {}

where IsRunning (for example) is a PROPERTY:

bool IsRunning { get { return this.Status > Zone.Status.Idle && this.Status != Zone.Status.Paused && ... }};

This can be extended to "last", "first", etc. by wrapping SIMPLE queries in a "getter".

The code then takes on the "flavor" of the original "english-like" spec. It then becomes easier to "validate" the two against each other; assuming the spec was reasonably structured to start with.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal

SuggestionMaking a dynamic tool system : help, advice Pin
new Human("Carson");10-Mar-18 5:36
new Human("Carson");10-Mar-18 5:36 
GeneralRe: Making a dynamic tool system : help, advice Pin
Richard MacCutchan10-Mar-18 22:17
mveRichard MacCutchan10-Mar-18 22:17 
GeneralRe: Making a dynamic tool system : help, advice Pin
jschell14-Mar-18 16:21
jschell14-Mar-18 16:21 
GeneralRe: Making a dynamic tool system : help, advice Pin
Mycroft Holmes14-Mar-18 17:34
professionalMycroft Holmes14-Mar-18 17:34 
GeneralRe: Making a dynamic tool system : help, advice Pin
Eddy Vluggen15-Mar-18 1:44
professionalEddy Vluggen15-Mar-18 1:44 
GeneralRe: Making a dynamic tool system : help, advice Pin
BillWoodruff17-Mar-18 16:11
professionalBillWoodruff17-Mar-18 16:11 
QuestionWhat is the fastest and bestest programming language for math and games? Pin
mirkocontroller5-Mar-18 3:42
mirkocontroller5-Mar-18 3:42 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Richard MacCutchan5-Mar-18 4:07
mveRichard MacCutchan5-Mar-18 4:07 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Vivi Chellappa20-Jul-18 2:15
professionalVivi Chellappa20-Jul-18 2:15 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Richard MacCutchan20-Jul-18 2:31
mveRichard MacCutchan20-Jul-18 2:31 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Vivi Chellappa20-Jul-18 10:17
professionalVivi Chellappa20-Jul-18 10:17 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz5-Mar-18 8:24
mveGerry Schmitz5-Mar-18 8:24 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
mirkocontroller5-Mar-18 22:20
mirkocontroller5-Mar-18 22:20 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Pete O'Hanlon5-Mar-18 23:22
mvePete O'Hanlon5-Mar-18 23:22 
GeneralRe: What is the fastest and bestest programming language for math and games? Pin
Gerry Schmitz6-Mar-18 5:38
mveGerry Schmitz6-Mar-18 5:38 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
Eddy Vluggen6-Mar-18 5:55
professionalEddy Vluggen6-Mar-18 5:55 
AnswerRe: What is the fastest and bestest programming language for math and games? Pin
jschell10-Mar-18 10:20
jschell10-Mar-18 10:20 

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.