News for hackers. Stuff that matters.
Re:Would you buy this C++ book? Please help shape its struct... by jbn on Monday April 22, 2013 @03:21PM (#5591244)
Sure.. It should reference Lakos for good design. In ch7, you should have a section about singletons. Singletons should not exist, GoF hurt the industry a lot by saying singleton was OK... it most certainly is not OK. No one needs it, and to get reentrant code you don't want it.

For ch9, it's like a C++ version of the Goetz book... you should make the same point: people shouldn't write their own thread pools. Also make a point about ownership transfer when posting to a pool: just don't share any data.

There are no comments on this comment yet.