Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Public and local variable of the same name?
Message
 
To
17/01/2008 16:08:16
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01282432
Message ID:
01282798
Views:
9
I do not agree with BindEvents, for it will mean that you are relying in some external object to do a job that it was supposed to be taken care of internally, unless you meant to have bindevent in the same object (something like bindevent(this, 'SomeProperty', this, 'SomeMethod')) which looks completely unnecessary

>I don't think we're disagreeing at all. A completely open property is no better than a public variable unless/until one uses the bindevent, access/assign or get/set to protect a property against code problems. :)
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform