Python Patterns

Alex Martelli aleaxit at yahoo.com
Wed Oct 6 01:08:05 CEST 2004


Irmen de Jong <irmen at -nospam-remove-this-xs4all.nl> wrote:

> Alex Martelli wrote:
> >  Meanwhile Robert Martin has already written a
> > book far closer than any other to what I had in mind -- but he uses C++
> > and Java as explanatory languages, and _that_ will give MY book enough
> > of an edge to almost catch up with Uncle Bob's awesome experience and
> > writing skills...!-)
> 
> A bit of searching found this book:
> "Agile Software Development, Principles, Patterns, and Practices" ?

Yep, that one.  His masterpiece so far, IMHO.  Pity about all the C++
and Java therein;-).


> State is about changing an object's class at runtime, to make it do
> something different when the object is "in a different state".
> Strategy is about being able to switch or add internal algorithms
> without having to change the code that uses it.
> So say the GOF. Amen.   :-D
> 
> Don't know why I'm writing all this. I have some reading to do...

Writing may help fix one's ideas and thus help one's reading;-).


Alex



More information about the Python-list mailing list