Click here to Skip to main content
15,912,072 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: Modern C++ auto Pin
Rick Shaub24-Apr-19 10:05
Rick Shaub24-Apr-19 10:05 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 10:19
Dean Roddey24-Apr-19 10:19 
GeneralRe: Modern C++ auto Pin
Rick Shaub24-Apr-19 10:25
Rick Shaub24-Apr-19 10:25 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 10:45
Dean Roddey24-Apr-19 10:45 
GeneralRe: Modern C++ auto Pin
Rick Shaub24-Apr-19 11:52
Rick Shaub24-Apr-19 11:52 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 12:00
Dean Roddey24-Apr-19 12:00 
GeneralNot Modern C++ auto Pin
bVagadishnu24-Apr-19 10:56
bVagadishnu24-Apr-19 10:56 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 7:26
Dean Roddey24-Apr-19 7:26 
The community is very much divided over AAA, so it's hardly a no brainer and being against it hardly makes one a Luddite. Of course the people who design the language and compilers aren't the people who are maintaining my code, so it's pretty easy for them to make such an assertion.

And the compiler doesn't understand my code anywhere NEAR as well I do. If it did, then it would know that if I changed the right side of a statement that had a auto type to something wrong, that it was actually wrong, even if the new type was syntactically compatible with the code to follow (which might be really simple and only use some operators that many, many types would support.)

But if course it wouldn't know that error if it sat down on it, because it has absolutely no idea what the INTENT of that code is or what the DESIGN of my code is. And so that would create a silent failure that isn't caught because I was too lazy to make my intent clear to the compiler, using what tools are available, and explicit types are a key indication of intent.
Explorans limites defectum


modified 24-Apr-19 13:54pm.

GeneralRe: Modern C++ auto Pin
Carlosian24-Apr-19 5:38
Carlosian24-Apr-19 5:38 
GeneralRe: Modern C++ auto Pin
Rick York24-Apr-19 6:48
mveRick York24-Apr-19 6:48 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 8:02
Dean Roddey24-Apr-19 8:02 
GeneralRe: Modern C++ auto Pin
Rick York24-Apr-19 10:51
mveRick York24-Apr-19 10:51 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 10:52
Dean Roddey24-Apr-19 10:52 
GeneralRe: Modern C++ auto Pin
Mark_Wallace24-Apr-19 11:11
Mark_Wallace24-Apr-19 11:11 
GeneralThought of the Day Pin
OriginalGriff23-Apr-19 4:42
mveOriginalGriff23-Apr-19 4:42 
GeneralRe: Thought of the Day Pin
Daniel Pfeffer23-Apr-19 4:49
professionalDaniel Pfeffer23-Apr-19 4:49 
GeneralRe: Thought of the Day Pin
megaadam23-Apr-19 4:53
professionalmegaadam23-Apr-19 4:53 
GeneralRe: Thought of the Day Pin
Jörgen Andersson23-Apr-19 5:08
professionalJörgen Andersson23-Apr-19 5:08 
RantRe: Thought of the Day Pin
lopatir23-Apr-19 5:14
lopatir23-Apr-19 5:14 
GeneralRe: Thought of the Day Pin
Herman<T>.Instance23-Apr-19 5:28
Herman<T>.Instance23-Apr-19 5:28 
GeneralRe: Thought of the Day Pin
W Balboos, GHB23-Apr-19 5:30
W Balboos, GHB23-Apr-19 5:30 
GeneralRe: Thought of the Day Pin
Gary R. Wheeler23-Apr-19 11:31
Gary R. Wheeler23-Apr-19 11:31 
GeneralWSO CCC OTD 2019-04-23 Pin
OriginalGriff22-Apr-19 21:40
mveOriginalGriff22-Apr-19 21:40 
GeneralRe: WSO CCC OTD 2019-04-23 Pin
musefan22-Apr-19 22:13
musefan22-Apr-19 22:13 
GeneralRe: WSO CCC OTD 2019-04-23 - we have a winner! Pin
OriginalGriff22-Apr-19 22:19
mveOriginalGriff22-Apr-19 22:19 

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.