
From: Daniel J. Duffy <dduffy@datasim.nl> To: boost@lists.boost.org Sent: Tue, September 21, 2010 4:15:09 PM Subject: [boost] New Book: Introduction to the C++ Boost Libraries, Volume I - Foundations
Hello, We are happy to announce the forthcoming publication
The authors develop software for computational finance, engineering, optical technology graphics, CAD that benefit greatly from these excellent libraries.
I'm sorry but...
From few glances I see total amateurishness.
General feeling from the book: ------------------------------ 1. Hire a professional to do the typesetting. The typesetting is horrible, you never typeset a book with text aligned to left instead of justified aliment. 2. 2/3 of the book is code... Not good. The author does not know the topic and writes terrible things like this: ------------------------------------------------------------------------ Part: 18.13 Volatile Variables
In order to rectify this situation we declare variables to be volatile in order to disable register optimisations:
// Shared variable volatile int i2; // The same functions as above but use a volatile variable. // Not optimised anymore so results are always correct. void FV1() { while (true) i2++; } void FV2() { while (true) cout<<i2<<endl; }
This is so wrong! And all this from 2 minutes of looking on the book! Artyom