News for hackers. Stuff that matters.
Re:On Writing a C++ Book by zerr on Monday July 29, 2019 @08:20AM (#20553749)
What would be the modern (14/17/20) C++ as the first language book nowadays?
Re:On Writing a C++ Book by SloopJon on Monday July 29, 2019 @09:14AM (#20554246)
Everyone has a different path, but frankly, I wouldn't recommend C++ as a first programming language. It's much easier to comprehend if you have some background in another language.

My three favorite C++ books are C++ Common Knowledge, Modern Effective C++, and Effective C++. Two of those predate C++11, but most of the advice is still applicable.

As for introductory texts, I guess there's: Accelerated C++, C++ Primer, Discovering Modern C++, A Tour of C++, and of course C++ Crash Course (the book under discussion).

I wouldn't get too hung up on "modern" C++. The vast majority of C++ programmers learned the old stuff (the vast majority of which is still valid), then caught up on the new stuff with Effective Modern C++, blog posts, etc. Just as it's useful to know C before you learn C++, it's useful to know old C++ before you learn modern C++.

Re:On Writing a C++ Book by criddell on Monday July 29, 2019 @09:38AM (#20554443)
> Just as it's useful to know C before you learn C++, it's useful to know old C++ before you learn modern C++.

There are definitely varying opinions on this. If you look for C++ courses for beginners they mostly do not start with C these days. I'd be surprised if any courses currently being taught don't start with lots of std library stuff (especially vector, string, map, etc...).

Re:On Writing a C++ Book by dgellow on Monday July 29, 2019 @08:42AM (#20553957)
I'm not sure I understand your question, but if you are asking for a first book to learn the language, adapted to modern C++, then "A tour of C++" by Bjarne Stroustrup (initial creator of the language) is a really good one: http://www.stroustrup.com/tour2.html.

It's relatively short (~250 pages) and simple to start with. And the second edition is updated to C++17, and covers a bit of C++20.

Re:On Writing a C++ Book by tdsamardzhiev on Monday July 29, 2019 @09:51AM (#20554556)
You mean, what's a good book for somebody who wants to learn programming with C++ as a language of choice?

I'd vote for "Beginning Game Programming in C++" as a self-study book, and "Programming: Principles and Practices Using C++" if you have somebody more experienced that can help you set your environment.

Re:On Writing a C++ Book by bigjew222 on Monday July 29, 2019 @01:20PM (#20556984)
Who is the author of your recommended "Beginning Game Programming in C++" book...? Sounds interesting.
Re:On Writing a C++ Book by tdsamardzhiev on Monday July 29, 2019 @04:57PM (#20559358)
Oops, I meant "Beginning C++ Through Game Programming" by Michael Dawson. It's a no-nonsense beginner programming text, geared towards people who want to learn C++ in order to make games.
Re:On Writing a C++ Book by reflexer on Monday July 29, 2019 @08:36AM (#20553896)
Use python.
Re:On Writing a C++ Book by tdsamardzhiev on Monday July 29, 2019 @09:59AM (#20554638)
Use whatever floats your boat.