IMO, stream API is totally replaceable (almost unnecessary), 80% of your uses cases can be solved with lamdas + Guava FluentIterables, and for advanced use cases libraries like RxJava (or whatever implements reactive streams interfaces) or IxJava are much more advanced and easy to extends. Not sure, but looks like stream API has an over complexity to improve performance on parallel computing which is not very useful in javascript.
On Mon, Jun 15, 2015 at 4:45 PM Pablo Nussembaum <baunax@gmail.com> wrote:
Thomas is rigth, using lambdas is are really game changer for subscribing (you have 6 lines less on each one) to handlers and also you can use guava Optional class and functional idioms until idioms until we have fully java8 streams.
Be aware that current GWT-2.8.0-SNAPSHOT compiler doesn't support mixing inner-classes and lambdas.--
On 06/15/2015 11:01 AM, Thomas Broyer wrote:
--
On Monday, June 15, 2015 at 3:49:10 PM UTC+2, Ivan Hetman wrote:Thanks, got it. But why don't release special GWT 2.8 version with source level 1.8 only? Without improved collection API Java 8 benefits in GWT are low.
You can write lambdas and use defender methods in your own interfaces, that's not nothing.Re. a special Java-8-only version of gwt-user, one of the main issues which has still not been solved is that of dependency managers relying on Maven metadata (most dependency managers). Gradle is apparently working on it https://discuss.gradle.org/t/variant-aware-dependency-management/115, and I think Ivy has it for years, but it's not there yet (particularly for Maven users).
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment