[haXe] haXe 1.05 !
Nicolas Cannasse
ncannasse at motion-twin.com
Thu Aug 17 15:02:17 CEST 2006
> It sounds as if these features fit well within the philosphy given
> below. Both properties describe quite a bit about the intended use of
> the variable (or class/method), and it would be nice to see these
> supported.
>
> Personally I would love to see const and internal, as both are quite
> useful for a framework developer to prevent people from playing where
> they shouldn't. With this announcement Rich and I are going to begin
> ActionStep for haXe (as soon as the project I'm working on ends) and
> these features could make our code much cleaner. Right now I'm doing
> some hackorific stuff where internal really should be used.
There is already some const support by declaring read-only properties :
public var readonly(default,null) : Int;
The property can only be modified by the class methods and its
subclasses. I'll think about "internal" but I'm not sure it fits nicely
within the haXe type system (it has to play nice with type inference).
> I love this idea. I'm particularly fond of the untyped blocks I
> noticed in the reference. I can't wait to start playing with the
> language.
Nice to hear that ;)
Good luck with ActionStep port !
Best,
Nicolas
More information about the Haxe
mailing list