Click here to Skip to main content
15,868,141 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: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 0:28
mvahoney the codewitch3-Mar-21 0:28 
GeneralRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 1:10
professionalStuart Dootson3-Mar-21 1:10 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 1:19
mvahoney the codewitch3-Mar-21 1:19 
GeneralRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 1:24
professionalStuart Dootson3-Mar-21 1:24 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 1:29
mvahoney the codewitch3-Mar-21 1:29 
GeneralRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 1:54
professionalStuart Dootson3-Mar-21 1:54 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 2:06
mvahoney the codewitch3-Mar-21 2:06 
AnswerRe: New code in C? Where and why, versus C++? Pin
Gary R. Wheeler3-Mar-21 2:57
Gary R. Wheeler3-Mar-21 2:57 
I think the reason many embedded programmers prefer C to C++ lies in simplicity. If they are programming in C, they don't have to keep in mind nearly as many of the implications of how they are writing their code. It's an example of WYSIWYG. C++ provides far too many mechanisms like inheritance and overloading that impact performance and memory usage.

There's also a certain inertia in the embedded software industry. I remember when C was viewed with skepticism, while it is now a mainstay. It will take a significant number of C++ adepts moving into embedded programming before the language becomes significant. It will also need for some members of the C community to leave. People like Linus Torvalds, who makes blanket statements about defects in C++ as a language that are inherent in his mono-focus on the Linux kernel.
Software Zen: delete this;

AnswerRe: New code in C? Where and why, versus C++? Pin
mischasan3-Mar-21 6:46
mischasan3-Mar-21 6:46 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 6:50
mvahoney the codewitch3-Mar-21 6:50 
AnswerRe: New code in C? Where and why, versus C++? Pin
Chad3F9-Mar-21 11:46
Chad3F9-Mar-21 11:46 
GeneralIs this right place? Pin
Nagy Vilmos2-Mar-21 2:14
professionalNagy Vilmos2-Mar-21 2:14 
GeneralRe: Is this right place? Pin
den2k882-Mar-21 2:16
professionalden2k882-Mar-21 2:16 
GeneralRe: Is this right place? Pin
OriginalGriff2-Mar-21 2:17
mveOriginalGriff2-Mar-21 2:17 
GeneralRe: Is this right place? Pin
Nagy Vilmos2-Mar-21 2:27
professionalNagy Vilmos2-Mar-21 2:27 
GeneralRe: Is this right place? Pin
OriginalGriff2-Mar-21 2:28
mveOriginalGriff2-Mar-21 2:28 
GeneralRe: Is this right place? Pin
Nagy Vilmos2-Mar-21 2:46
professionalNagy Vilmos2-Mar-21 2:46 
GeneralRe: Is this right place? Pin
OriginalGriff2-Mar-21 2:50
mveOriginalGriff2-Mar-21 2:50 
GeneralRe: Is this right place? Pin
W Balboos, GHB2-Mar-21 2:18
W Balboos, GHB2-Mar-21 2:18 
GeneralRe: Is this right place? Pin
OriginalGriff2-Mar-21 2:29
mveOriginalGriff2-Mar-21 2:29 
GeneralRe: Is this right place? Pin
W Balboos, GHB2-Mar-21 2:33
W Balboos, GHB2-Mar-21 2:33 
GeneralRe: Is this right place? Pin
OriginalGriff2-Mar-21 2:51
mveOriginalGriff2-Mar-21 2:51 
GeneralRe: Is this right place? Pin
W Balboos, GHB2-Mar-21 3:12
W Balboos, GHB2-Mar-21 3:12 
GeneralRe: Is this right place? Pin
OriginalGriff2-Mar-21 3:26
mveOriginalGriff2-Mar-21 3:26 
GeneralRe: Is this right place? Pin
W Balboos, GHB2-Mar-21 3:33
W Balboos, GHB2-Mar-21 3: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.