Terry Carroll wrote:
On Fri, 11 Feb 2005, Bob Gailer wrote:
Whenever you find yourself writing an if statement ask whether this
would be better handled by subclasses. Whenever you find yourself about
to write a global statement, consider making the variables properties of
a class.
Bob --
Brian
s,
Ryan
-Original Message-
From: Alan Gauld [mailto:[EMAIL PROTECTED]
Sent: Saturday, February 12, 2005 3:52 AM
To: EJP; Ryan Davis; tutor@python.org
Subject: Re: [Tutor] Larger program organization
> without trying to make this one of those classic threads of great,
> do you f
Ryan Davis wrote:
I'm starting to make a code-generation suite in python, customized to
the way we ASP.NET at my company, and I'm having some trouble finding a
good way to organize all the code. I keep writing it, but it feels more
and more spaghetti-ish every day.
Organize your code into packa
"Ryan Davis" [EMAIL PROTECTED] wrote
My
background is mostly C#, so I'm used to the ridiculous rigidity of
strongly-typed languages. I have been using python for helper apps for a few
months now, so am pretty familiar with the syntax now, but I don't know any of
the patterns y
> without trying to make this one of those classic threads of great,
> do you feel you could develop fairly complex applications faster
> in Python than in C#/ASP.NET? It's a rhetorical question
> (but I'm interested in your answer as a single data point)
To be honest it wouldn't make a great