Web development with Python 3.1
debatem1 at gmail.com
Tue Oct 27 22:34:03 CET 2009
On Tue, Oct 27, 2009 at 4:52 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
>> Well, yes- but it's also DRY, and while DRTW (like the acronym, btw)
>> helps to prevent your code from being unreadable to someone else,
>> DRY helps to ensure that when you have to change something you
>> don't have to worry about changing it in 37 and a half other places
>> at the same time. Especially given how notoriously difficult it is to
>> do automated testing for web development, that's essential.
> That's what classes are for, no? Reuse code. I fail to see how using a
> framework would reduce the need to use classes, provided that the need
...frameworks use classes. They just don't make you write all of them.
More information about the Python-list