incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Wasilewski <devudes...@gmail.com>
Subject Re: [FalconJx] Prototype ActionScript -> JavaScript compiler code up in svn
Date Fri, 14 Dec 2012 12:36:37 GMT
Well, that's good news then :)

On 12/14/2012 12:30 PM, Erik de Bruin wrote:
>>> 'goog' seems to be the reasonable way to go. I would be a bit concern
>>> about name-space implementation yet.
>>> org.apache.data.blah.foo is the major bottleneck. And currently not that
>>> different from haxe approach. Even after closure compiler heavy lifting it
>>> is still
>>> a.b.c.d.e.f. It starts with "org.apache.data.blah.foo" as a string , so
>>> why not ns_orgApacheDataBlahFoo that will get complied to 'abcdef' ? Just an
>>> idea.
> Stop worrying: the Closure Compiler (which the "goog" approach uses)
> is specifically designed to handle stuff like those "deep" namespaces.
> It checks dependencies, so it knows what it can and cannot rename, and
> it checks for collisions when doing the renaming. The result of all
> this is that you can during development use namespaces however deep
> you like - "this.is.a.really.deep.namespace.dont.you.think - but if
> the Closure Compiler figures it can get away with it, it will
> ruthlessly refactor that to: "a".
>
> EdB
>
>
>
> --
> Ix Multimedia Software
>
> Jan Luykenstraat 27
> 3521 VB Utrecht
>
> T. 06-51952295
> I. www.ixsoftware.nl


Mime
View raw message