Re: [OT] Good C++ book for a Python programmer
From: Craig Ringer (craig_at_postnewspapers.com.au)
To: email@example.com Date: Thu, 20 Jan 2005 11:35:42 +0800
On Wed, 2005-01-19 at 09:04 -0800, firstname.lastname@example.org wrote:
> Rick Muller wrote:
> >I was wondering whether anyone could recommend a good C++ book, with
> >"good" being defined from the perspective of a Python programmer.
> The STL and the template feature of C++ gives the programmer some of
> the functionality of Python (using templates instead of duck typing,
> vectors instead of lists etc.),
I'm particularly fond of internally refcounted objects (as used
extensively in Qt) and of guarded pointers, myself. The use of these two
things means one can avoid the "sometimes works, sometimes doesn't" fun
of referencing deleted memory by accident.
-- Craig Ringer