[newbie] Looking for a good introduction to object oriented programming with Python
Mark Lawrence
breamoreboy at yahoo.co.uk
Sun Aug 5 18:11:46 EDT 2012
On 05/08/2012 20:46, lipska the kat wrote:
[snip]
> There is a book you could try, it's a bit dry and I read it when I can't
> sleep, about 30 mins usually does it :-)
> It's called Design Patterns by Gamma, Helm, Johnson and Vlissides
> ISBN 0-201-63361-2.
> They do use C++ code in examples but as they say, this is just a
> convenience and shouldn't colour your view of the subject
> I still read the introduction and get something out of it after several
> years. You should be able to implement the patterns in Python
> although I must admit I haven't tried that yet
>
Please no, that's the worst possible book for someone trying to learn
OOD in Python. It's mostly if not completely irrelevant, jumping
through hoops that you don't need in Python because of its dynamic
nature. Start with the factory pattern and I hope you'll understand why
I say this. Search for "design patterns alex martelli" and you'll get
all you need and more.
> lipska
>
>
>
--
Cheers.
Mark Lawrence.
More information about the Python-list
mailing list