Dotan Cohen a écrit :
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.

Nope. "classes" are an artifact of one possible approach of OOP, period.

I fail to see how using a
framework would reduce the need to use classes,

Why should it ?
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to