I prefer the prefix to be explicit ("import x"; then reference
"x.y") . Sure it's more verbose, but it means that, at the point where
something is used, I can see at a glance exactly where it is comes
from. It keeps the namespace(s) clean. Users who don't like this
approach can always "from x import y"; then reference "y". Of course,
"from x import *" should not be used.On Aug 17, 4:29 pm, "Mike Orr" <[EMAIL PROTECTED]> wrote: > I'm not happy with the "model." prefix throughout the Data Queries > section. Some people will use this code in the model; others in the > controller. I think it's less jarring to have it without the prefix > and people can add it, rather than the other way around. Do others > think differently? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
