Click here to Skip to main content
16,003,745 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: This, this right here... is why people hate macros... Pin
honey the codewitch21-Aug-24 5:26
mvahoney the codewitch21-Aug-24 5:26 
GeneralRe: This, this right here... is why people hate macros... Pin
BernardIE531721-Aug-24 10:02
BernardIE531721-Aug-24 10:02 
GeneralRe: This, this right here... is why people hate macros... Pin
Niels Holst21-Aug-24 20:30
professionalNiels Holst21-Aug-24 20:30 
GeneralRe: This, this right here... is why people hate macros... Pin
BernardIE531721-Aug-24 20:43
BernardIE531721-Aug-24 20:43 
GeneralRe: This, this right here... is why people hate macros... Pin
charlieg22-Aug-24 0:48
charlieg22-Aug-24 0:48 
GeneralRe: This, this right here... is why people hate macros... Pin
charlieg28-Aug-24 2:20
charlieg28-Aug-24 2:20 
GeneralRe: This, this right here... is why people hate macros... Pin
Rick York21-Aug-24 5:08
mveRick York21-Aug-24 5:08 
GeneralRe: This, this right here... is why people hate macros... Pin
Jeremy Falcon21-Aug-24 6:08
professionalJeremy Falcon21-Aug-24 6:08 
Rick York wrote:
I have done something like this just a few times and I remember them fairly clearly.
Don't worry, Rick. We won't tell anyone. Laugh | :laugh:
Rick York wrote:
I see no good reasons at all for this monstrosity.
Same. Peter (above) mentioned a good point, the code was written in C89 before the inline keyword. So, can only guess it was for performance. Personally, I think I would've taken the performance hit of a function call. Assuming it was written in the 90s due to C89... a function call wasn't that bad IMO.
Jeremy Falcon

GeneralRe: This, this right here... is why people hate macros... Pin
Stacy Dudovitz25-Aug-24 1:59
professionalStacy Dudovitz25-Aug-24 1:59 
GeneralRe: This, this right here... is why people hate macros... Pin
Jeremy Falcon25-Aug-24 3:03
professionalJeremy Falcon25-Aug-24 3:03 
GeneralOkay. I'm done today Pin
honey the codewitch20-Aug-24 2:13
mvahoney the codewitch20-Aug-24 2:13 
GeneralRe: Okay. I'm done today Pin
Maximilien20-Aug-24 2:16
Maximilien20-Aug-24 2:16 
GeneralRe: Okay. I'm done today Pin
honey the codewitch20-Aug-24 2:17
mvahoney the codewitch20-Aug-24 2:17 
GeneralRe: Okay. I'm done today Pin
Alister Morton20-Aug-24 3:27
Alister Morton20-Aug-24 3:27 
GeneralRe: Okay. I'm done today Pin
jochance20-Aug-24 11:44
jochance20-Aug-24 11:44 
GeneralRe: Okay. I'm done today Pin
Rage20-Aug-24 22:26
professionalRage20-Aug-24 22:26 
GeneralRe: Okay. I'm done today Pin
charlieg21-Aug-24 1:27
charlieg21-Aug-24 1:27 
GeneralBrainless Ad People Pin
David O'Neil19-Aug-24 20:36
professionalDavid O'Neil19-Aug-24 20:36 
GeneralRe: Brainless Ad People Pin
Pete O'Hanlon19-Aug-24 21:19
mvePete O'Hanlon19-Aug-24 21:19 
GeneralRe: Brainless Ad People Pin
David O'Neil19-Aug-24 21:30
professionalDavid O'Neil19-Aug-24 21:30 
GeneralRe: Brainless Ad People Pin
obermd20-Aug-24 3:38
obermd20-Aug-24 3:38 
GeneralRe: Brainless Ad People Pin
David O'Neil20-Aug-24 16:41
professionalDavid O'Neil20-Aug-24 16:41 
GeneralRe: Brainless Ad People Pin
Choroid20-Aug-24 5:23
Choroid20-Aug-24 5:23 
GeneralRe: Brainless Ad People Pin
Peter_in_278019-Aug-24 21:29
professionalPeter_in_278019-Aug-24 21:29 
GeneralRe: Brainless Ad People Pin
David O'Neil19-Aug-24 21:33
professionalDavid O'Neil19-Aug-24 21:33 

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.