Live data from Hacker News

On Writing a C++ Book

lospi.net

1–10 of 44 posts

Re: On Writing a C++ Book

#2
is this out? No Starch still shows "early access" and "be ready in September", amazon showed it will be released on September 10, 2019. The TOC looks good to me. I hope it has a sample chapter.

Re: On Writing a C++ Book

#3
post #2

is this out? No Starch still shows "early access" and "be ready in September", amazon showed it will be released on September 10, 2019. The TOC looks good to me. I hope it has a sample chapter.

I'd love to see a preview. At 792 pages, this seems rather long for a crash course.

Re: On Writing a C++ Book

#5
> C++ has a daunting reputation because its fundamental elements nest so tightly together

Do they? I tend to find that C++’s features are often quite disjoint, which means that you can pick-and-choose which bits you want to use but the language isn’t quite designed like a coherent whole as some other languages are.

Re: On Writing a C++ Book

#6

> C++ has a daunting reputation because its fundamental elements nest so tightly together Do they? I tend to find that C++’s features are often quite disjoint, which means that you can pick-and-choose which bits you want to use but the language isn’t quite designed like a coherent whole as some other languages are.

Any language that grows big has that problem.

My favourite example is Python, I started using it with version 1.6 and even though I only use it for small scripting tasks, always followed each release since then.

It might appeal to beginners, but underneath lies a language as powerful as C++, where even the most savy will fail to remember what changed between minor releases.

Re: On Writing a C++ Book

#7
Wow, well done! Will pick this up once Rust in Action is finished.

"It took twice as long to write half of what I proposed. I began writing a projects-based C++ book with a short introduction to the language." Well done for pushing through. It's really easy to become totally discouraged.

Re: On Writing a C++ Book

#8

Interesting that the author didn't include C++ Primer in his list of favorites. It's not perfect, but I think its latest edition (C++11) is a pretty good way to learn C++ currently.

Do you mean A Tour of C++? That's an excellent introduction by Bjarne himself, but does not talk about some things such as the Boost library.

Re: On Writing a C++ Book

#9
Sounds promising.

I used C++ somewhat, almost 20 years ago, before discovering Python, but I never got very good at it. Over the years I wanted to strengthen my C++ skills, but I never found quite the right material or avenue. Most books/tutorials are too basic for me, others already assume a certain familiarity with C or C++. Maybe this book is better...

Re: On Writing a C++ Book

#10
post #8

Interesting that the author didn't include C++ Primer in his list of favorites. It's not perfect, but I think its latest edition (C++11) is a pretty good way to learn C++ currently.

Do you mean A Tour of C++? That's an excellent introduction by Bjarne himself, but does not talk about some things such as the Boost library.

I think what is meant is Lippman's book.
Post reply on HN