Click here to Skip to main content
14,327,460 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
dandy7225-Apr-19 9:42
memberdandy7225-Apr-19 9:42 
GeneralRe: Modern C++ auto Pin
GuyThiebaut23-Apr-19 6:44
professionalGuyThiebaut23-Apr-19 6:44 
GeneralRe: Modern C++ auto Pin
Maximilien23-Apr-19 7:14
memberMaximilien23-Apr-19 7:14 
GeneralRe: Modern C++ auto Pin
David O'Neil23-Apr-19 11:19
professionalDavid O'Neil23-Apr-19 11:19 
GeneralRe: Modern C++ auto Pin
Dean Roddey23-Apr-19 7:58
memberDean Roddey23-Apr-19 7:58 
GeneralRe: Modern C++ auto Pin
Dean Roddey23-Apr-19 15:50
memberDean Roddey23-Apr-19 15:50 
GeneralRe: Modern C++ auto Pin
Rage23-Apr-19 20:46
professionalRage23-Apr-19 20:46 
GeneralRe: Modern C++ auto Pin
Andy Hoffmeyer24-Apr-19 4:14
memberAndy Hoffmeyer24-Apr-19 4:14 
The use of auto is not laziness, nor is it abusive. It is correct and idiomatic modern C++. Bjarne Stroustrup and most members of the ISO C++ standardization committee actively advocate for its use, to the point where AAA - Almost Always Auto - has become a common mantra. The simple fact is that, most of the time, the compiler is smarter than you, and understands your code on a level that you never could. Allowing the compiler to determine the type automatically, as often as possible, allows for optimizations that may not be possible if you coerce an explicit type.

People who reject evolutionary features of C++ are the same sort of people who would reject fuel injection on cars, because they learned how to drive a car with a carburetor, so everyone else should be fine with it.

Technology advances. Try to keep up, or be left behind.
GeneralRe: Modern C++ auto Pin
wheelman570z24-Apr-19 7:11
professionalwheelman570z24-Apr-19 7:11 
GeneralRe: Modern C++ auto Pin
Andy Hoffmeyer24-Apr-19 7:41
memberAndy Hoffmeyer24-Apr-19 7:41 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 7:55
memberDean Roddey24-Apr-19 7:55 
GeneralRe: Modern C++ auto Pin
Rick Shaub24-Apr-19 9:33
memberRick Shaub24-Apr-19 9:33 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 10:00
memberDean Roddey24-Apr-19 10:00 
GeneralRe: Modern C++ auto Pin
Rick Shaub24-Apr-19 10:05
memberRick Shaub24-Apr-19 10:05 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 10:19
memberDean Roddey24-Apr-19 10:19 
GeneralRe: Modern C++ auto Pin
Rick Shaub24-Apr-19 10:25
memberRick Shaub24-Apr-19 10:25 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 10:45
memberDean Roddey24-Apr-19 10:45 
GeneralRe: Modern C++ auto Pin
Rick Shaub24-Apr-19 11:52
memberRick Shaub24-Apr-19 11:52 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 12:00
memberDean Roddey24-Apr-19 12:00 
GeneralNot Modern C++ auto Pin
bVagadishnu24-Apr-19 10:56
memberbVagadishnu24-Apr-19 10:56 
GeneralRe: Modern C++ auto Pin
Dean Roddey24-Apr-19 7:26
memberDean Roddey24-Apr-19 7:26 
GeneralRe: Modern C++ auto Pin
Carlosian24-Apr-19 5:38
memberCarlosian24-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
memberDean Roddey24-Apr-19 8:02 
GeneralRe: Modern C++ auto Pin
Rick York24-Apr-19 10:51
mveRick York24-Apr-19 10:51 

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.