On 12 juin, 04:12, "Shannon -jj Behrens" <[EMAIL PROTECTED]> wrote: (snip)
> I agree with Ben. Having classes with methods has all sorts of OO > benefits. Consider, you can implement __getattr__ and do all sorts of > cool tricks. It's also nice to share a bunch of code and data via > self. If you don't use classes, you're forced to do everything with > function decorators. Nothing prevents you from using any callable object as a Django "view". And I don't get your point wrt/ decorators. Not to say that I prefer the Django's way here... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
