Picture of author.
10 Works 580 Members 5 Reviews 1 Favorited

Om forfatteren

Nicolai M. Josuttis is an independent technical consultant who designs object-oriented software for the telecommunication, traffic, finance, and manufacturing industries. He is an active member of the C++ Standard Committee library working group and a partner at System Bauhaus, a German group of vis mere recognized object-oriented system development experts. Josuttis has written several books on object-oriented programming and C++, including Die C++-Standardbibliothek and Objektorientiertes Programmieren in C++. vis mindre

Includes the name: Nicolai Josuttis

Værker af Nicolai M. Josuttis

Satte nøgleord på

Almen Viden

Fødselsdato
1950s
Køn
male
Nationalitet
Germany

Medlemmer

Anmeldelser

My only substantive disappointment with what is otherwise a very good reference for the changes brought by C++20 is that the book has several sections that contain only the placeholder text "This chapter/section is at work" (meaning, I assume, that it is a work in progress). Most of the sections so marked are probably quite minor, but the absence of section 19.3, "Details of Objects as NTTPs" is particularly frustrating, as that was one of the sections that I expected to be particularly enlightening.

In other words, the book -- or at least my copy -- is incomplete. Nothing warned me before I bought it that that was the case. Indeed, the author's web page stated that the hardcopy book was "100%" complete.

In the text, the English is only rarely ambiguous or confusing, although it is more frequently rendered in a manner that a native speaker of the language (or at least this native speaker of the language) finds stilted and slightly unnatural.

While the book seems solid on the mechanics of the new C++20 features, and contains many pieces of example code illustrating their use, nowhere does it provide something that would be at least as useful: explanations of why they were added to the language, and when to use them.

C++20 is somewhat of a monster, and I have yet to see clear explanations of why, for example, one might choose to use ranges or coroutines to solve a problem over other, more conventional, methods. For the most part, the new features don't seem to involve writing *less* code, just *different* code. And while I can imagine that, for example, range-based code might result in more efficient executable code at the CPU level, I have seen, neither in this book nor elsewhere, any objective measurements to suggest that reformulating the manner in which loops over containers are written so as to use ranges actually results in programs that are more efficient.

Similarly, coroutines are a complex new feature that we have managed without until now; so why are they suddenly a good thing? All the examples of their use that I have seen are basically an inordinately complicated way to solve a not-very-practical problem that I have never seen occur in real life.

So, while this book is very good as a reference for the new features, there is definitely room for a more descriptive book to explain why and when to use the features that this book (mostly) describes so well.
… (mere)
 
Markeret
N7DR | Dec 21, 2022 |
 
Markeret
NachoSeco | 2 andre anmeldelser | Oct 10, 2022 |
A useful book, collecting much of the wisdom about the subject in one place.

However, it could have been so much better if:

1) It had been proofread properly;

2) The examples (most of which use strings) had eschewed C-style strings (does anyone actually use those in new code any more?) and instead used proper C++-style std::strings throughout (with C++ literal initialisation) and also some examples with std::string_view. This lack I find incomprehensible in a book focussed on what is generally called "Modern C++", and considerably impacts the utility of the book.

Further, the presence of a political agenda was an obvious mistake that I hope the author will be at pains never to repeat in his generally-useful technical books. I suspect that for many readers it will have an effect precisely opposite to that intended.
… (mere)
½
 
Markeret
N7DR | Jun 8, 2021 |
Comprehensive description of the standard library. The author mainly gives best-practice usage examples.

The book is clear and well-written. However, it occurs to me that the author did not put as much effort into the second edition as he did into the first edition. Especially the chapters about concurrency I found superficial.
 
Markeret
Tobias.Bruell | 2 andre anmeldelser | Oct 3, 2013 |

Lister

Måske også interessante?

Statistikker

Værker
10
Medlemmer
580
Popularitet
#43,223
Vurdering
½ 4.3
Anmeldelser
5
ISBN
22
Sprog
2
Udvalgt
1

Diagrammer og grafer