Detalles del producto
|
That said, this book is full of those got ya! puzzles. Fortunately Herb is a kind writer and you don't feel too dumb when he points out why a particular puzzle has a problem and what it is. And like Deja news you can skip all the wrong answers, arguments about the arcane and get right to the meat of the problem. Herb also got a chance to make the puzzles more clear, where the language of the original puzzle confused the issue unnecessarily.
The best reason to buy this book is that its the only published text so far on how to use C++ Exceptions. There are some articles in C++ Report but not many on the traps and pitfalls of their usage. Stroustrup's book "C++ Programming Language" tells you how the mechanism works, and makes some suggestions. Herb tells you what it will cost you if you don't use them, only partially use them, or totally abuse them. And he shows you how a minor misuse can make you have major problems.
I can see why Scott Meyers likes this book. Its just like his books, "Effective C++" series only the format is not in a lecture topic but in a question/puzzle answer format. I prefer the Meyer's approach but you can still glean the necessary information, and while you are reading the answers to the puzzles, say to yourself "Yeah I knew that!"
One other reason to buy this book, you can use these puzzles as tests for interviews. First, it will help you know the skill level of the applicant, Second it will teach you something you probably should have known anyway, Thirdly if they get the answers right off it will tell you that the applicants at least read the texts and are trying to stay on top of things. This is not to say you should make applicants take an all day C++ grammer test but by asking a few puzzle questions you can see how they react under a bit of pressure. After all at some point everyone comes up against a problem they haven't seen.