[haXe] New feature : Properties

Martin Heidegger mastakaneda at gmail.com
Thu Apr 13 01:59:37 CEST 2006


Just some thoughts

*) I will never ever set setter or getter private - since its just a
different (not wrong) access its only good. (might be reasonable to change
it maybe in documentation?)
*) What is about inheritance? Is a property used instead of a variable like:

 var a:MyType = new MySubType();
 a.x = 2 // x was a variable in MyType but is a setter/getter in MySubType

*) How are properties represented within the reflect API - i cant see
special methods for those in the API, and i cant find no description in the
documentation.

yours
Martin.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20060413/8398708e/attachment.htm


More information about the Haxe mailing list