Click here to Skip to main content
15,127,128 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.

 
AnswerRe: New code in C? Where and why, versus C++? Pin
  Forogar  2-Mar-21 6:46
professional  Forogar  2-Mar-21 6:46 
GeneralRe: New code in C? Where and why, versus C++? Pin
PIEBALDconsult2-Mar-21 6:52
professionalPIEBALDconsult2-Mar-21 6:52 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 2:22
mvahoney the codewitch3-Mar-21 2:22 
AnswerRe: New code in C? Where and why, versus C++? Pin
Daniel Pfeffer2-Mar-21 6:52
professionalDaniel Pfeffer2-Mar-21 6:52 
AnswerRe: New code in C? Where and why, versus C++? Pin
glennPattonInThePub32-Mar-21 7:04
professionalglennPattonInThePub32-Mar-21 7:04 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch2-Mar-21 8:16
mvahoney the codewitch2-Mar-21 8:16 
GeneralRe: New code in C? Where and why, versus C++? Pin
giulicard2-Mar-21 22:52
Membergiulicard2-Mar-21 22:52 
AnswerRe: New code in C? Where and why, versus C++? Pin
trønderen2-Mar-21 7:32
Membertrønderen2-Mar-21 7:32 
If you work in a team with young and eager programmers that completed their degree less than five years ago, there is one good reason:

These young geniuses usually love to play around with every single feature of the tools they are given. They like to experiment, and they love to prove that they truly master even the most obscure little detail of the language, the library, the VCS or whatever. So they strive to use all of it, in the most intricate ways that "impresses" even the old coding gurus.

C++ is not the language you would want to put in the hands of a young genius for proving that he can do something that no one else can do. You certainly can do dirty tricks in C as well, yet it is far more transparent than the "advanced" C++ features. (Besides, dirty C tricks often require that the programmer is very familiar with hardware and compiler operations, which is not as common with young programmers today, compared to thirty years ago).

So C is a better way to discipline young geniuses, by depriving them of tools to create incomprehensive code.

(Similar arguments can be used for staying away from git, or Docker orchestration, or CMake, or...)
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch2-Mar-21 8:19
mvahoney the codewitch2-Mar-21 8:19 
AnswerRe: New code in C? Where and why, versus C++? Pin
David O'Neil2-Mar-21 8:17
professionalDavid O'Neil2-Mar-21 8:17 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch2-Mar-21 8:20
mvahoney the codewitch2-Mar-21 8:20 
GeneralRe: New code in C? Where and why, versus C++? Pin
David O'Neil2-Mar-21 9:10
professionalDavid O'Neil2-Mar-21 9:10 
GeneralRe: New code in C? Where and why, versus C++? Pin
W Balboos, GHB3-Mar-21 3:42
mveW Balboos, GHB3-Mar-21 3:42 
AnswerRe: New code in C? Where and why, versus C++? Pin
giulicard2-Mar-21 22:41
Membergiulicard2-Mar-21 22:41 
AnswerRe: New code in C? Where and why, versus C++? Pin
Martin ISDN3-Mar-21 0:40
MemberMartin ISDN3-Mar-21 0:40 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 1:34
mvahoney the codewitch3-Mar-21 1:34 
AnswerRe: New code in C? Where and why, versus C++? Pin
Behzad Sedighzadeh3-Mar-21 0:48
MemberBehzad Sedighzadeh3-Mar-21 0:48 
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 
AnswerRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 1:01
professionalStuart Dootson3-Mar-21 1:01 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 1:28
mvahoney the codewitch3-Mar-21 1:28 
GeneralRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 2:10
professionalStuart Dootson3-Mar-21 2:10 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 2:19
mvahoney the codewitch3-Mar-21 2:19 
GeneralRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 2:24
professionalStuart Dootson3-Mar-21 2:24 
GeneralRe: New code in C? Where and why, versus C++? Pin
honey the codewitch3-Mar-21 2:29
mvahoney the codewitch3-Mar-21 2:29 
GeneralRe: New code in C? Where and why, versus C++? Pin
Stuart Dootson3-Mar-21 2:54
professionalStuart Dootson3-Mar-21 2:54 

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.