[Tutor] Data persistence problem

Mark Lawrence breamoreboy at yahoo.co.uk
Sat Jun 22 23:15:24 CEST 2013


On 22/06/2013 19:29, Jim Mooney wrote:
> On 22 June 2013 04:00, Steven D'Aprano <steve at pearwood.info> wrote:
>
>
>> Speaking of Java, I get a kick out of this article and love to link to it on
>> every possible opportunity:
>>
>> http://steve-yegge.blogspot.com.au/2006/03/execution-in-kingdom-of-nouns.html
>
> Funny. Speaking of Java, I saw a used book on design patterns, that
> wasn't too old, but all the examples were in Java. Why not just hit
> myself in the head with a brick?
>
> Except for a really old general book, all the recent books on design
> patterns, which I was curious about, are on specific languages -
> design patterns for Java (speak of the devil), Visual Basic, Tcl, even
> Android. But I couldn't fine One on Python. Is there a reason for
> this? Don't they play well with Python, or did I miss the book
> somehow?

Loads of the design pattern stuff is written to help programmers get 
around the straight jacket that languages can impose, whereas 
implementating the same patterns in Python is often ludicrously easy.

If you want to dig further, I suggest you arm yourself with plenty of 
coffee and sandwiches, then use your favourite search engine to hunt for 
"Python patterns Alex Martelli".  Enjoy :)

-- 
"Steve is going for the pink ball - and for those of you who are 
watching in black and white, the pink is next to the green." Snooker 
commentator 'Whispering' Ted Lowe.

Mark Lawrence



More information about the Tutor mailing list