Comment #4 on issue 172 by emil.len...@gmail.com: Using static symbols on  
objects not consistent
http://code.google.com/p/gambas/issues/detail?id=172

One little problem I can see is the following:
Let's say you have obj1 and obj2 of class Class1. Class1 has a static  
variable 'a'.
The following code:

obj1.a = 1426
obj2.a = 231
Print obj1.a 'Prints 231

If you don't know that 'a' is actually static, but you know that obj1 and  
obj2 are different objects, you might think it's strange when both obj1.a  
and obj2.a seem to point to the same variable.

However, this problem does not exist for read only properties.


------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to