[OT] Good C++ book for a Python programmer

Craig Ringer craig at postnewspapers.com.au
Wed Jan 19 22:35:42 EST 2005


On Wed, 2005-01-19 at 09:04 -0800, beliavsky at aol.com 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




More information about the Python-list mailing list