On 12/03/2012 13:29, paleywiener wrote:
> @Francis Glassborow
>
> Hi, I'm also using the HTML version of Bruce Eckel's book: Thinking in
> C++, which is excellent, and free (he's covered virtual functions in a
> superb manner). I did read that section in C++PL very very carefully,
> multiple times, and asked around and bugged everybody i know.
I think you missed the significance of 'Had this interface been for a
realistically-sized module in a real system...'
Most of
> it I'm following, it's just that in parts, Mr.S gets very obscure
> which is quite annoying especially since what he's saying seems quite
> simple! (it's annoying because there's no sense of satisfaction from
> reading a book and leaving out bits - it'll be a half done kind of a
> thing..)
OK, but that suggests that the people you talked with are also not in
the target readership. The book is aimed at experienced programmers. In
that context the idea of alternative interfaces for different people is
not a strange idea and the benefits of avoiding a cascade of
recompilation would be understood implicitly.
It is too long to quote here but read the last paragraph of the preface
(the one just before the acknowledgements) and it may help you
understand who the book is written for.
For learning C++, a book such as the C++ Primer 4th edition (Lippman,
Lajoie and Moo) is, IMO, a better choice.