News for hackers. Stuff that matters.
Re:Doom3 is the proof that “keep it simple” works by bigbv2093 on Wednesday April 01, 2015 @08:51AM (#9303142)
As someone who wants to learn modern c++, what are some good resources/books to learn from ? I have python and java experience and I have been reading Accelerated C++ since a while now.
Re:Doom3 is the proof that “keep it simple” works by frankzinger on Wednesday April 01, 2015 @09:00AM (#9303169)
Not a definitive list, but these are good:

  The C++ Programming Language, 4th edition
  Bjarne Stroustrup

  The C++ Standard Library, 2nd Edition
  Nicolai M. Josuttis

  Effective C++, More Effective C++, Effective Modern C++ 
  Scott Meyers

  http://en.cppreference.com
Re:Doom3 is the proof that “keep it simple” works by pmelendez on Wednesday April 01, 2015 @09:24AM (#9303307)
I would also add Effective STL too.

A Tour of C++ by B. Stroustrup is a good start point for a beginner too

Re:Doom3 is the proof that “keep it simple” works by slm_HN on Wednesday April 01, 2015 @12:05PM (#9304632)
Well, don't forget about exceptions, unless you decide to ban them like many people do. So add:

Exceptional C++ by Herb Sutter

More Exceptional C++ by Herb Sutter

Exceptional C++ Style by Herb Sutter

And Templates:

C++ Templates: The Complete Guide by Josuttis & Vandevoorde

And of course you need some background in generic & metaprogramming, so add:

Modern C++ Design by Alexandrescu

Advanced C++ Metaprogramming by Gennaro

So you're looking at over ten books. What does this say about C++? Can you think of another language that has a ten book prerequisite?

Re:Doom3 is the proof that “keep it simple” works by bstamour on Wednesday April 01, 2015 @03:21PM (#9306127)
All of that is hardly prerequisite for using modern C++ on a day-to-day basis. You can get away with just reading "A Tour of C++" and the Effective C++ books.

If you want to start writing highly generic libraries with the intention of submitting them to boost, then absolutely you should be reading everything in your list and more. But how many C++ programmers are writing boost libraries?

Re:Doom3 is the proof that “keep it simple” works by frankzinger on Thursday April 02, 2015 @01:09AM (#9308784)
Yeah and the Exceptional C++ series is not 'about exceptions' either. It looks like he just googled 'c++ exceptions book', and the same for templates and metaprogramming, probably.
Re:Doom3 is the proof that “keep it simple” works by failrate on Wednesday April 01, 2015 @03:40PM (#9306257)
It is also excellent for people who have worked in an older style of C++ and want to get a jumpstart on modern practices and the new C++11 features and keywords.
Re:Doom3 is the proof that “keep it simple” works by bigbv2093 on Wednesday April 01, 2015 @09:25AM (#9303311)
Thanks, I'll read through those as well.
Re:Doom3 is the proof that “keep it simple” works by zanny on Wednesday April 01, 2015 @01:32PM (#9305289)
As an addendum, I highly recommend not reading decade old source code like this as an example of modern C++. C++11/14 have changed the language so much for the better that anything targeting C++03 should be ignored for new projects and especially for new learners.

Also, avoiding Boost and Qt early on is also a good idea. Both have tremendous stylistic and design differences from ISO C++ and while the language supports all of them when using the Boost libraries and Qt toolkit you need to shift mindset entirely in how you are writing code to match the backing architecture. Learn the core language first.

Re:Doom3 is the proof that “keep it simple” works by frozenport on Wednesday April 01, 2015 @06:52PM (#9307536)
I disagree because writing a Qt program is often the end goal.
Re:Doom3 is the proof that “keep it simple” works by ta0967 on Wednesday April 01, 2015 @06:16PM (#9307344)
the STL is also totally unlike the standard C library. are things like <algorithm> or <string> to be avoided because the core language is <cstdio>?
Re:Doom3 is the proof that “keep it simple” works by replicant on Wednesday April 01, 2015 @09:32AM (#9303349)
Re:Doom3 is the proof that “keep it simple” works by chadzawistowski on Wednesday April 01, 2015 @02:45PM (#9305859)
I really enjoyed Effective Modern C++. It covered the interesting stuff I wanted to know, and skipped the introductory "in case you've never programmed before" fluff.

http://shop.oreilly.com/product/0636920033707.do