Click here to Skip to main content
15,434,721 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: Software architecture pattern Pin
Greg Utas12-Jun-21 0:12
mveGreg Utas12-Jun-21 0:12 
AnswerRe: Software architecture pattern Pin
Bohdan Stupak30-Jul-21 3:36
professionalBohdan Stupak30-Jul-21 3:36 
QuestionIs if-then-else now considered to be as obsolete as goto? Pin
swampwiz27-May-21 18:28
Memberswampwiz27-May-21 18:28 
AnswerRe: Is if-then-else now considered to be as obsolete as goto? Pin
Gerry Schmitz27-May-21 19:07
mveGerry Schmitz27-May-21 19:07 
AnswerRe: Is if-then-else now considered to be as obsolete as goto? Pin
Richard MacCutchan27-May-21 21:30
mveRichard MacCutchan27-May-21 21:30 
AnswerRe: Is if-then-else now considered to be as obsolete as goto? Pin
harold aptroot28-May-21 1:08
Memberharold aptroot28-May-21 1:08 
AnswerRe: Is if-then-else now considered to be as obsolete as goto? Pin
jschell7-Jul-21 6:57
Memberjschell7-Jul-21 6:57 
GeneralWhat about deprecated keywords ? Pin
User 140765529-Jul-21 3:00
MemberUser 140765529-Jul-21 3:00 
A keyword won't replace another.

Because of amount of 'features' available as new langages arrive.

Think from the core : Assembly ( or C ),
you can renew an adress , or the value, or call an adress, or a value,

so goto: leads to another 'adress' , It's go there/ do that ....

If statements are 'condition tests' area ,

you want to upgrade your style with a relevant idea,
throwing out the 'overload of logical' and the point is here : renew the keywords you use.


Like you'll have already your idea about the 'How To' :
one essential thing to get clues for relevance : measure / benchmarck / tests / and finally Compare your tries.


There are lots of 'equality' ,
if ( Evt 1 ){ ........... }{ .... }
so it's like :
while( Evt 1 ){
..............
}
while( ! Evt 1 ){
..............
}

will succeed same .. and commit the following .


It's about 'How many laps in loop' 'How many conditions to evaluate',
( or maybe a " loop/if handler " is required )

A code could use if() .. or other manner..
But in a very short and relevant time and process consumming ?
or for one hour over required work time ?

//////////
It's really 'one case' won't solve this questions',
benchmark will do !
benchmark will prove your choice as the best one.


There will never have deprecated keywords.

modified 23-Aug-21 21:01pm.

GeneralRe: What about deprecated keywords ? Pin
jschell17-Jul-21 9:31
Memberjschell17-Jul-21 9:31 
AnswerRe: Is if-then-else now considered to be as obsolete as goto? Pin
Bohdan Stupak29-Jul-21 6:25
professionalBohdan Stupak29-Jul-21 6:25 
QuestionIn OO, How to handle the object parameter of a method Pin
codecs12-Apr-21 4:43
Membercodecs12-Apr-21 4:43 
AnswerRe: In OO, How to handle the object parameter of a method Pin
Richard MacCutchan2-Apr-21 5:30
mveRichard MacCutchan2-Apr-21 5:30 
AnswerRe: In OO, How to handle the object parameter of a method Pin
Gerry Schmitz2-Apr-21 6:17
mveGerry Schmitz2-Apr-21 6:17 
AnswerRe: In OO, How to handle the object parameter of a method Pin
Dave Kreskowiak2-Apr-21 6:49
mveDave Kreskowiak2-Apr-21 6:49 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Eddy Vluggen2-Apr-21 11:53
professionalEddy Vluggen2-Apr-21 11:53 
AnswerRe: In OO, How to handle the object parameter of a method Pin
codecs12-Apr-21 17:50
Membercodecs12-Apr-21 17:50 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Richard MacCutchan2-Apr-21 21:31
mveRichard MacCutchan2-Apr-21 21:31 
GeneralRe: In OO, How to handle the object parameter of a method Pin
codecs13-Apr-21 16:58
Membercodecs13-Apr-21 16:58 
GeneralRe: In OO, How to handle the object parameter of a method Pin
jschell9-Apr-21 15:10
Memberjschell9-Apr-21 15:10 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Rob Grainger6-Jul-21 11:09
MemberRob Grainger6-Jul-21 11:09 
AnswerRe: In OO, How to handle the object parameter of a method Pin
Bohdan Stupak6-Apr-21 22:20
professionalBohdan Stupak6-Apr-21 22:20 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Rob Grainger6-Jul-21 11:11
MemberRob Grainger6-Jul-21 11:11 
GeneralRe: In OO, How to handle the object parameter of a method Pin
Bohdan Stupak24-Jul-21 23:40
professionalBohdan Stupak24-Jul-21 23:40 
QuestionHow can a method return a validation result Pin
codecs112-Mar-21 19:54
Membercodecs112-Mar-21 19:54 
AnswerRe: How can a method return a validation result Pin
Gerry Schmitz13-Mar-21 7:56
mveGerry Schmitz13-Mar-21 7:56 

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.