News for hackers. Stuff that matters.
Re:The Best Programming Language (or How to Stop Worrying an... by andrewcooke on Monday March 03, 2014 @10:16AM (#7334108)
i guess maybe now is a good time to repeat this request - does anyone know of a good, recent book that describes how to write correct, modern c++ using the latest standards and staying with the subset of the language that expert users recognise as elegant and powerful?
Re:The Best Programming Language (or How to Stop Worrying an... by polskibus on Monday March 03, 2014 @11:01AM (#7334430)
I always recommend Effective C++ by Scott Meyers. It does not cover C++11 but is still relevant to anyone wanting to learn the good c++.
Re:The Best Programming Language (or How to Stop Worrying an... by jtfrench on Tuesday March 04, 2014 @03:32AM (#7339104)
I would have to second that. Scott's book is great (and he's a fellow Brown alum)
Re:The Best Programming Language (or How to Stop Worrying an... by pjmlp on Monday March 03, 2014 @10:19AM (#7334133)
Check Tour of C++, recently published by Bjarne.
Re:The Best Programming Language (or How to Stop Worrying an... by sanderjd on Monday March 03, 2014 @10:22AM (#7334161)
Wow, thanks, I'd been looking for this too, and somehow had failed to come across that one. Sounds perfect.
Re:The Best Programming Language (or How to Stop Worrying an... by jbeja on Monday March 03, 2014 @10:47AM (#7334329)
Sams Teach Yourself CPP One Hour a Day 7th and CPP Primer 5th
Re:The Best Programming Language (or How to Stop Worrying an... by NAFV_P on Monday March 03, 2014 @12:30PM (#7335015)
I think I have an older edition of that book, and it doesn't cover recursion. I would not recommend it for a novice programmer, other than picking up basic syntax, since it doesn't give anything substantial to sink your teeth into.

The last C++ text that I came across was "C++ In Action: Industrial Strength Programming" by Bartosz Milewski. It was first published over a dozen years ago, so it will have dated a bit. In the first chapter the author explains objects using the usual taxonomist analogy, but also explains it in terms of the concept of scope. That first chapter alone gave me more insight than most of the SAMS text.

Re:The Best Programming Language (or How to Stop Worrying an... by adamnemecek on Monday March 03, 2014 @03:14PM (#7336142)
I don't think that recursion is really idiomatic in C++.
Re:The Best Programming Language (or How to Stop Worrying an... by NAFV_P on Tuesday March 04, 2014 @04:44PM (#7343413)
> I don't think that recursion is really idiomatic in C++.

Ok, I think you could throw that at C as well. As a general programming concept it's quite idiomatic. All I know is that fucking up recursion is just as easy as fucking up iteration.

Re:The Best Programming Language (or How to Stop Worrying an... by adamnemecek on Tuesday March 04, 2014 @08:56PM (#7344731)
Well it's not really idiomatic in C either. And it's not about fucking it up but about performance. Even if you do tail recursion, it will still be slower.
Re:The Best Programming Language (or How to Stop Worrying an... by dman on Monday March 03, 2014 @11:20AM (#7334556)
Tour of c++.