Click here to Skip to main content
15,886,873 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: I hope this isn't a programming question... (C++ Modules) Pin
Member 460345731-Jan-23 4:28
Member 460345731-Jan-23 4:28 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:37
professionalJeremy Falcon31-Jan-23 8:37 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
honey the codewitch30-Jan-23 11:07
mvahoney the codewitch30-Jan-23 11:07 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:36
professionalJeremy Falcon31-Jan-23 8:36 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
honey the codewitch31-Jan-23 8:57
mvahoney the codewitch31-Jan-23 8:57 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
englebart1-Feb-23 11:10
professionalenglebart1-Feb-23 11:10 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon1-Feb-23 11:21
professionalJeremy Falcon1-Feb-23 11:21 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
Gary R. Wheeler30-Jan-23 12:01
Gary R. Wheeler30-Jan-23 12:01 
Using header files the interface to the library can compile differently to how the library itself was compiled, usually depending upon preprocessor definitions and that sort of thing. My impression is that C++ modules guarantee that the user of a library sees the same interface, types, etc. that the compiler of the library saw.
Jeremy Falcon wrote:
when did using the pre-processor become discouraged in C++
I have a feeling some of this can be attributed to the open source movement. Preprocessor use is a 'code smell' in some circles, and its a metric that can be easily applied to an arbitrary body of code. There are probably tools out there to help you choose between open source packages based on certain metrics, including this one. The preprocessor has a history of being abused, creating inadvertent side-effects and difficult to find bugs. For this reason it's frowned upon in more modern code.

These prejudices ignore the cases where the preprocessor is used to simplify syntax, reduce ceremony, etc. and you know what-the-Elephant | [mastadon] you are doing.
Software Zen: delete this;

GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:51
professionalJeremy Falcon31-Jan-23 8:51 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
jmaida30-Jan-23 15:22
jmaida30-Jan-23 15:22 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
David O'Neil30-Jan-23 18:50
professionalDavid O'Neil30-Jan-23 18:50 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
jmaida30-Jan-23 19:10
jmaida30-Jan-23 19:10 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
megaadam30-Jan-23 22:06
professionalmegaadam30-Jan-23 22:06 
GeneralRe: I hope this isn't a programming question... (C++ Modules) Pin
Jeremy Falcon31-Jan-23 8:42
professionalJeremy Falcon31-Jan-23 8:42 
AnswerRe: I hope this isn't a programming question... (C++ Modules) Pin
jschell2-Feb-23 9:03
jschell2-Feb-23 9:03 
Generalcats made us love them several thousand years before we ,,, Pin
BillWoodruff30-Jan-23 3:15
professionalBillWoodruff30-Jan-23 3:15 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
obermd30-Jan-23 3:36
obermd30-Jan-23 3:36 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Slacker00730-Jan-23 5:56
professionalSlacker00730-Jan-23 5:56 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Kemner30-Jan-23 8:52
Paul Kemner30-Jan-23 8:52 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Sanders (the other one)30-Jan-23 20:49
Paul Sanders (the other one)30-Jan-23 20:49 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Paul Kemner30-Jan-23 4:39
Paul Kemner30-Jan-23 4:39 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Single Step Debugger30-Jan-23 4:28
Single Step Debugger30-Jan-23 4:28 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
dandy7230-Jan-23 4:36
dandy7230-Jan-23 4:36 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Single Step Debugger30-Jan-23 4:58
Single Step Debugger30-Jan-23 4:58 
GeneralRe: cats made us love them several thousand years before we ,,, Pin
Daniel Pfeffer30-Jan-23 8:43
professionalDaniel Pfeffer30-Jan-23 8:43 

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.