Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to change the default Directory?
Message
From
21/11/2003 19:37:19
 
 
To
21/11/2003 18:49:37
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00850477
Message ID:
00852560
Views:
9
>> Suppose I have opened two projects A and B, and these two both have a
>> Product class but are in two different VCX files and that the both their
>> Product classes have the same method name say Update(). Sometimes, VFP
>> would save the Product.Update method code belonging to project A to B!
>
>That is absolutely evil, and I guess this can cause resultant app bugs that are most difficult to track down. Have you been able to repro this or is it one of those Heisenbugs that pick some inopportune time to strike and then go into hiding?
>
>Our coding rules forbid that any two classes within the same environment have the same name (because of Fox's internal class caching) and this may be the reason that we have not encountered the problem yet.

The two classes are subclasses of same parent class. The subclasses, lets say Product again, are contained in VCX_A for Project A, and VCX_B for Project B.

This is evil. =)
Previous
Reply
Map
View

Click here to load this message in the networking platform