Reading Effective C++ was eye-opening in a couple ways: initially for the intended reason in the title of the book, but the second was that it felt like having a map to a minefield: good info to have, but it felt more prudent to stay out of the minefield in the first place.
In a cruel twist of destiny, it doesn't actually get much more complex than initialisation. But it's something that rarely goes wrong. Static analysis has that nailed down.
This is just a single section of the first chapter of a beginner tutorial. And it's already more things to remember than, say, the whole Lua.
Did you already know that? Do all your junior C++ programmers know that? Do you have lints turned on in every C++ project and dep for that?
Cause I had to really look at it to figure it out. And I had to think, "Would Rust allow this code?"