Hi Goktug:

The problem is, as I noted in earlier discussions, the semantics of this 
> feature is pretty complex. It is difficult to understand what is going on 
> and how to properly use it. Also in addition to that it adds more 
> responsibility to the compiler and forces a more opinionated style of 
> extension.
>

The semantics of this feature may be complex only for API developers, but 
not for API client developers. It is not more complex than a GWT.create() 
invocation. An invocation to something like String.format("hello %s", 
name), should be transparent for a common developer. 

 

> On the other hand, as we discussed earlier, we want to compiler to do the 
> less and give more options at the library level. The new feature you are 
> proposing, the GWT.create feature itself and many others can be reasonably 
> handled by a single extension point that provides basic method re-writing.
>

If you read the "Future Work" section of my proposal, you will find that 
I'm proposing a GWT-free API, implemented as a Java 8 compiler plugin 
(extension point). As today GWT compiler is not pluggable, we must modify 
the compiler to explore these options.
Thanks for your feedback!

- Andrés Testi

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- 
You received this message because you are subscribed to the Google Groups "GWT 
Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to