News for hackers. Stuff that matters.
Re:The Time Needed to Write “Effective Modern C++” by smikims on Sunday April 26, 2015 @04:26PM (#9443137)
That's exactly what I said; however, when you introduce people to C++ that seems rather counter-intuitive and can lead to a lot of mistakes. Yes, you can tell people "Well, you don't understand what the standard says!" but there's still something to be said for language features that don't take several pages to explain what they really do.
Re:The Time Needed to Write “Effective Modern C++” by detrino on Sunday April 26, 2015 @08:29PM (#9443851)
I just gave an explanation of reference-to-const in 1 sentence, not several pages. Also, my objection to your comment was your focus on what const means to foo() when the value is in what it means to main().