|
|
|
|
|
by gcb
5650 days ago
|
|
some in depth points on that criticism. http://www.developerdotstar.com/community/node/781 disclaimer, i haven't read the book. but if teaching cpp while he was really teaching C was his crime, than i will probably be on his side when i do read the book :) |
|
I also think that post's phrasing has confused you. When he says "teaching C in practice," he doesn't mean teaching C-isms in a C++ book — he means C as it is (incorrectly) used in practice, such as teaching implementation-dependent assumptions and pretending that they're part of the standard, as well as simply wrong code that might appear to work right "in practice" in certain situations. For example, his "Annotated ANSI C Standard" stated that void main(void) was a valid main function and that padding only appears at the end of structs.