Click here to Skip to main content
15,891,597 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
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 
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 
rjmoses wrote:
Somebody sure put a lot of faith that the order of evaluation, especially short-circuit evaluation, would remain the same across compilers!
Order of evaluation and the short-circuit behavior is (or at least, used to be) part of the C language definition.

It's the use of variable assignment and pre-decrement operator in the (short-circuited) if statement that worries me. Regardless, I hope you rewrote it into something more maintainable.
I live in Oregon, and I'm an engineer.

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 
GeneralDamnit - another thing dies. Pin
OriginalGriff14-Dec-19 4:20
mveOriginalGriff14-Dec-19 4:20 
GeneralRe: Damnit - another thing dies. Pin
Cp-Coder14-Dec-19 4:24
Cp-Coder14-Dec-19 4:24 
GeneralRe: Damnit - another thing dies. Pin
Richard MacCutchan14-Dec-19 4:34
mveRichard MacCutchan14-Dec-19 4:34 
GeneralRe: Damnit - another thing dies. Pin
OriginalGriff14-Dec-19 4:43
mveOriginalGriff14-Dec-19 4:43 
GeneralRe: Damnit - another thing dies. Pin
Richard MacCutchan14-Dec-19 5:05
mveRichard MacCutchan14-Dec-19 5:05 

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.