incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omar Gonzalez <>
Subject Re: [jira] [Updated] (FLEX-51) Please check support for ExactValue initializer
Date Tue, 24 Apr 2012 17:40:40 GMT
On Tue, Apr 24, 2012 at 10:28 AM, Gordon Smith <> wrote:

> Speaking as the person who has written the most complete spec for MXML (at
> far as I know) -- although I'm not currently as an active contributor to
> Apache Flex --  this use of $ in the language strikes me as rather
> arbitrary. Other MXML compiler directives start with @, such as @Embed,
> @Resource, and @{...}. BTW, I see the latter as a poor choice; it should
> have been something like @TwoWay{...} for consistency with the others.
> I suggest @Once.
> - Gordon

I think the @Once{} syntax looks much more appealing than ${}, as Gordon
states it looks a lot more consistent with other directives and it also
expresses its intent much more clearly. I like this proposal as an addition
to the framework. I would expect @Once to set the value one time during
instantiation of the object with the directive, waiting for first non-null
just doesn't sound like a good thing.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message