Click here to Skip to main content
15,885,244 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: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 9:11
mveGerry Schmitz30-Dec-20 9:11 
GeneralRe: Do you think much about your shorts? Pin
obermd31-Dec-20 6:19
obermd31-Dec-20 6:19 
GeneralRe: Do you think much about your shorts? Pin
rnbergren30-Dec-20 8:16
rnbergren30-Dec-20 8:16 
GeneralRe: Do you think much about your shorts? Pin
Slacker00730-Dec-20 8:26
professionalSlacker00730-Dec-20 8:26 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 8:34
mveGerry Schmitz30-Dec-20 8:34 
GeneralRe: Do you think much about your shorts? Pin
Slacker00730-Dec-20 9:33
professionalSlacker00730-Dec-20 9:33 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 8:28
mveGerry Schmitz30-Dec-20 8:28 
GeneralRe: Do you think much about your shorts? Pin
Randor 30-Dec-20 8:23
professional Randor 30-Dec-20 8:23 
Well,
Gerry Schmitz wrote:
In some cases, their loop variable is an int; in others a short; in others a long.
Modern compilers will promote those loop variables to 32/64 bit depending on target architecture. If you are looking at old code... there were reasons to use integer BOOL for performance and 8 bit bool for smaller code-size many years ago. Optimizing compilers today make most of that pointless.

I am finally getting around to reviewing that json library @code-witch keeps obsessing over. First thing I noticed was the liberal use of bool. But in the end... it does't really matter the compiler should promote some of these.

Best Wishes,
-David Delaune
GeneralRe: Do you think much about your shorts? Pin
honey the codewitch30-Dec-20 8:48
mvahoney the codewitch30-Dec-20 8:48 
GeneralRe: Do you think much about your shorts? Pin
Randor 30-Dec-20 8:55
professional Randor 30-Dec-20 8:55 
GeneralRe: Do you think much about your shorts? Pin
honey the codewitch31-Dec-20 1:44
mvahoney the codewitch31-Dec-20 1:44 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 8:48
mveGerry Schmitz30-Dec-20 8:48 
GeneralRe: Do you think much about your shorts? Pin
Joan M30-Dec-20 8:26
professionalJoan M30-Dec-20 8:26 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 8:39
mveGerry Schmitz30-Dec-20 8:39 
GeneralRe: Do you think much about your shorts? Pin
Joan M30-Dec-20 9:03
professionalJoan M30-Dec-20 9:03 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 9:08
mveGerry Schmitz30-Dec-20 9:08 
GeneralRe: Do you think much about your shorts? Pin
Joan M30-Dec-20 9:12
professionalJoan M30-Dec-20 9:12 
GeneralRe: Do you think much about your shorts? Pin
Nelek30-Dec-20 9:45
protectorNelek30-Dec-20 9:45 
GeneralRe: Do you think much about your shorts? Pin
OriginalGriff30-Dec-20 8:49
mveOriginalGriff30-Dec-20 8:49 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 9:00
mveGerry Schmitz30-Dec-20 9:00 
GeneralRe: Do you think much about your shorts? Pin
Daniel Pfeffer30-Dec-20 9:25
professionalDaniel Pfeffer30-Dec-20 9:25 
GeneralRe: Do you think much about your shorts? Pin
Gerry Schmitz30-Dec-20 9:44
mveGerry Schmitz30-Dec-20 9:44 
GeneralRe: Do you think much about your shorts? Pin
Mike Hankey30-Dec-20 14:25
mveMike Hankey30-Dec-20 14:25 
GeneralRe: Do you think much about your shorts? Pin
Rick York30-Dec-20 15:14
mveRick York30-Dec-20 15:14 
GeneralRe: Do you think much about your shorts? Pin
Ron Anders30-Dec-20 17:20
Ron Anders30-Dec-20 17: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.