#2430: Widgets should use lazy params initialization to prevent from 
inconsistence
------------------------+---------------------------------------------------
 Reporter:  xaka        |        Owner:  chrisz      
     Type:  defect      |       Status:  new         
 Priority:  normal      |    Milestone:  1.1.x bugfix
Component:  TG Widgets  |      Version:  1.0.9       
 Severity:  normal      |   Resolution:              
 Keywords:              |  
------------------------+---------------------------------------------------
Comment (by Chris Arndt):

 I would argue that cases 2) and 3) are not the best programming practice.
 If I access an attribute, I don't expect massive claculations or access to
 external resources to happen in the background, because it's actually a
 property. IMHO, one should use a normal method instead in this case.

 Or are you saying that even normal methods are called on Widget
 instantiation?

-- 
Ticket URL: <http://trac.turbogears.org/ticket/2430#comment:5>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development

-- 
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en

Reply via email to