Hi the list !

What would you recommend me to choose between :
1.
anInstance.index1 = ...
anInstance.index2 = ...

2.
anInstance["index1"] = ...
anInstance["index2"] = ...

On both I can iterates on indexes, I can have direct access to any  
value given a key.
There is no conceptual things here, just various object to store at  
some keys.
It doesn't matter that 1. is class's attributes and 2. array's value.

So I guess the last thing to decide is performance : witch one is  
better ?

Thanks !


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to