Click here to Skip to main content
15,887,214 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: *cries in C++* Pin
honey the codewitch17-Feb-22 11:42
mvahoney the codewitch17-Feb-22 11:42 
GeneralRe: *cries in C++* Pin
charlieg17-Feb-22 11:48
charlieg17-Feb-22 11:48 
GeneralRe: *cries in C++* Pin
honey the codewitch17-Feb-22 12:04
mvahoney the codewitch17-Feb-22 12:04 
GeneralRe: *cries in C++* Pin
jschell17-Feb-22 11:54
jschell17-Feb-22 11:54 
GeneralRe: *cries in C++* Pin
honey the codewitch17-Feb-22 11:56
mvahoney the codewitch17-Feb-22 11:56 
GeneralRe: *cries in C++* Pin
bmarstella17-Feb-22 16:33
bmarstella17-Feb-22 16:33 
GeneralRe: *cries in C++* Pin
honey the codewitch17-Feb-22 16:45
mvahoney the codewitch17-Feb-22 16:45 
GeneralRe: *cries in C++* Pin
Stefan_Lang19-Feb-22 2:21
Stefan_Lang19-Feb-22 2:21 
From 1985 to 2010, any decent run-of-the-mill-general-purpose coding standard worked pretty well for C and C++. But since C++11, every batch of new features also added more tools that were easy to misuse against the spirit if not the letter of said guidelines.

Nowadays, the only way to maintain good code with modern C++ is using modern standards following Clean-Code / SOLID principles. I've found the most important thing is keeping classes and functions small: just one purpose is the key. The best way to find out if your function or class is small enough is thinking about a name that describes it well: if a good description requires an 'or' or 'and' or 'then', then your class or function tries to fulfil more than one purpose and should be split!
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)

GeneralRe: *cries in C++* Pin
honey the codewitch19-Feb-22 4:55
mvahoney the codewitch19-Feb-22 4:55 
GeneralOh boy. I've given myself a challenge now. Pin
OriginalGriff16-Feb-22 1:48
mveOriginalGriff16-Feb-22 1:48 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
honey the codewitch16-Feb-22 1:53
mvahoney the codewitch16-Feb-22 1:53 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Peter_in_278016-Feb-22 1:58
professionalPeter_in_278016-Feb-22 1:58 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Dave Kreskowiak16-Feb-22 2:08
mveDave Kreskowiak16-Feb-22 2:08 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Amarnath S16-Feb-22 2:15
professionalAmarnath S16-Feb-22 2:15 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Richard MacCutchan16-Feb-22 2:32
mveRichard MacCutchan16-Feb-22 2:32 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
craig robbins MN16-Feb-22 2:59
craig robbins MN16-Feb-22 2:59 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
dan!sh 16-Feb-22 3:06
professional dan!sh 16-Feb-22 3:06 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
PIEBALDconsult16-Feb-22 3:06
mvePIEBALDconsult16-Feb-22 3:06 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
kmoorevs16-Feb-22 3:50
kmoorevs16-Feb-22 3:50 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Matias Lopez16-Feb-22 4:05
Matias Lopez16-Feb-22 4:05 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
Matthew Dennis16-Feb-22 4:21
sysadminMatthew Dennis16-Feb-22 4:21 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
OriginalGriff16-Feb-22 4:56
mveOriginalGriff16-Feb-22 4:56 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
DRHuff16-Feb-22 4:51
DRHuff16-Feb-22 4:51 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
k505416-Feb-22 5:12
mvek505416-Feb-22 5:12 
GeneralRe: Oh boy. I've given myself a challenge now. Pin
kmoorevs16-Feb-22 8:05
kmoorevs16-Feb-22 8:05 

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.