Implicit 'this' return for void methods
Jochen Theodorou
blackdrag at gmx.org
Thu Mar 27 16:35:41 UTC 2014
Am 26.03.2014 16:51, schrieb Guy Steele:
[...]
> I am wholeheartedly in favor of allowing “chaining” of dotted expressions such as
>
> CharBuffer.allocate(26).position(2).put("C").position(25).put("Z”)
this also shows a potential point of critic this proposal will have to
find arguments against. This style highly encourages mutation of the
object, which is not very functional. Since java8 java tries to be more
functional, thus this idea would be totally against this new line.
I leave it to you guys if this is even a valid argument ;)
bye Jochen
--
Jochen "blackdrag" Theodorou - Groovy Project Tech Lead
blog: http://blackdragsview.blogspot.com/
german groovy discussion newsgroup: de.comp.lang.misc
For Groovy programming sources visit http://groovy-lang.org
More information about the core-libs-dev
mailing list