overlay types not so zero-overhead

2012-12-05 Thread Sebastián Gurin
Hi all. I'm playing with GWT overlay types for learning better ways of overlaying and working with them more agile. In particular I found that JSO setters methods that return 'this' for method chaining are a good way of defining an object state in a single Java statement, just like they are

Re: overlay types not so zero-overhead

2012-12-05 Thread Thomas Broyer
On Wednesday, December 5, 2012 5:06:38 PM UTC+1, Sebastián Gurin wrote: Hi all. I'm playing with GWT overlay types for learning better ways of overlaying and working with them more agile. In particular I found that JSO setters methods that return 'this' for method chaining are a good

Re: overlay types not so zero-overhead

2012-12-05 Thread Sebastián Gurin
Thomas, thank you very much for your input. I think I will keep coding using method chaining and now at least I know they are not free in terms of code size and performance. Also I will test how this behaves introducing closure. Also I have made some little tests, the most interesting is using