Re: Implicit 'this' return for void methods

2014-04-01 Thread Eirik Lygre
On Tue, Apr 1, 2014 at 6:37 PM, Guy Steele wrote: > Then it sounds as if the three of us, at least, are very much in agreement > about what is the appropriate scope for such a "naked dot" feature. > > > Am 01.04.2014 11:28, schrieb Bruce Chapman: > >> More formally, the naked dot (at the start o

Re: Re[2]: Implicit 'this' return for void methods

2014-03-28 Thread Eirik Lygre
On Fri, Mar 28, 2014 at 5:57 AM, Victor Polischuk wrote: > Ulf, > > I think that point leading style is something which can be easily > mistreat. If we complicate the example: > >String mySub = > myVeryLongNamedString.substring(.indexOf("C"),.indexOf("Q")); > > to something like: > >Strin

Re: Implicit 'this' return for void methods

2014-03-27 Thread Eirik Lygre
On Thu, Mar 27, 2014 at 10:02 PM, Jochen Theodorou wrote: > Am 27.03.2014 21:52, schrieb Eirik Lygre: > [...] > > The JavaBean specification, with it's "void setSomething()" functions >> are fundamental to so many things Java that they will never go away &g

Re: Implicit 'this' return for void methods

2014-03-27 Thread Eirik Lygre
On Thu, Mar 27, 2014 at 5:35 PM, Jochen Theodorou wrote: > 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