Click here to Skip to main content
15,895,746 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: Just because you can doesn't mean you should. Pin
rjmoses15-Dec-19 1:26
professionalrjmoses15-Dec-19 1:26 
GeneralRe: Just because you can doesn't mean you should. Pin
Randor 15-Dec-19 2:13
professional Randor 15-Dec-19 2:13 
GeneralRe: Just because you can doesn't mean you should. Pin
honey the codewitch14-Dec-19 16:44
mvahoney the codewitch14-Dec-19 16:44 
GeneralRe: Just because you can doesn't mean you should. Pin
PIEBALDconsult14-Dec-19 18:47
mvePIEBALDconsult14-Dec-19 18:47 
GeneralRe: Just because you can doesn't mean you should. Pin
honey the codewitch14-Dec-19 18:50
mvahoney the codewitch14-Dec-19 18:50 
GeneralRe: Just because you can doesn't mean you should. Pin
CPallini15-Dec-19 5:52
mveCPallini15-Dec-19 5:52 
GeneralRe: Just because you can doesn't mean you should. Pin
englebart16-Dec-19 2:42
professionalenglebart16-Dec-19 2:42 
GeneralRe: Just because you can doesn't mean you should. Pin
Member 1181677616-Dec-19 7:41
Member 1181677616-Dec-19 7:41 
Both the operator precedence (and thus the order of evaluation) and short circuiting are part of the C language definition and is not compiler dependent. The compiler can only reorder the expression during optimization if it can ensure that it does not change the result.

It is quite safe to rely upon. This expression already has a sufficient number of parentheses, more just makes it less readable. I'm not even sure where you would even put extra parentheses.
GeneralRe: Just because you can doesn't mean you should. Pin
rjmoses16-Dec-19 12:56
professionalrjmoses16-Dec-19 12:56 
GeneralRe: Just because you can doesn't mean you should. Pin
Member 1181677616-Dec-19 19:19
Member 1181677616-Dec-19 19:19 
GeneralRe: Just because you can doesn't mean you should. Pin
rjmoses17-Dec-19 0:09
professionalrjmoses17-Dec-19 0:09 
GeneralRe: Just because you can doesn't mean you should. Pin
Member 1181677617-Dec-19 1:56
Member 1181677617-Dec-19 1:56 
GeneralRe: Just because you can doesn't mean you should. Pin
patbob16-Dec-19 12:23
patbob16-Dec-19 12:23 
GeneralRe: Just because you can doesn't mean you should. Pin
Member 916705716-Dec-19 22:28
Member 916705716-Dec-19 22:28 
GeneralMore 3D Printing......well, I couldn't help it. Pin
DaveAuld14-Dec-19 5:12
professionalDaveAuld14-Dec-19 5:12 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
OriginalGriff14-Dec-19 5:17
mveOriginalGriff14-Dec-19 5:17 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
PIEBALDconsult14-Dec-19 5:38
mvePIEBALDconsult14-Dec-19 5:38 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
Ron Anders14-Dec-19 5:47
Ron Anders14-Dec-19 5:47 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
honey the codewitch14-Dec-19 7:14
mvahoney the codewitch14-Dec-19 7:14 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
Nelek14-Dec-19 7:23
protectorNelek14-Dec-19 7:23 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
honey the codewitch14-Dec-19 7:24
mvahoney the codewitch14-Dec-19 7:24 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
Nelek14-Dec-19 7:26
protectorNelek14-Dec-19 7:26 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
Jörgen Andersson14-Dec-19 11:16
professionalJörgen Andersson14-Dec-19 11:16 
JokeRe: More 3D Printing......well, I couldn't help it. Pin
Daniel Pfeffer14-Dec-19 22:10
professionalDaniel Pfeffer14-Dec-19 22:10 
GeneralRe: More 3D Printing......well, I couldn't help it. Pin
DaveAuld15-Dec-19 0:35
professionalDaveAuld15-Dec-19 0:35 

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.