Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #6802
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!prichard.zen.co.uk.POSTED!not-for-mail |
|---|---|
| Date | Fri, 05 Aug 2011 10:09:22 +0100 |
| From | RedGrittyBrick <RedGrittyBrick@spamweary.invalid> |
| User-Agent | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 |
| MIME-Version | 1.0 |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: looping through a list, starting at 1 |
| References | <list-20110802003845@ram.dialup.fu-berlin.de> <8djj37pg6o35jb1b8lskefb4jmb2iadmbe@4ax.com> <nospam-9625F7.23364303082011@news.aioe.org> <4e3a5a4c$0$2527$da0feed9@news.zen.co.uk> <9a04aaFp76U1@mid.individual.net> <j1eoba$uj6$1@dont-email.me> <Q7Odnef35YdGmqbTnZ2dnUVZ_qWdnZ2d@earthlink.com> <j1f3ds$d7i$1@dont-email.me> <5-SdnQLc1oSKjqbTnZ2dnUVZ_vOdnZ2d@earthlink.com> |
| In-Reply-To | <5-SdnQLc1oSKjqbTnZ2dnUVZ_vOdnZ2d@earthlink.com> |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| Content-Transfer-Encoding | 7bit |
| Lines | 40 |
| Message-ID | <4e3bb343$0$2491$db0fefd9@news.zen.co.uk> (permalink) |
| Organization | Zen Internet |
| NNTP-Posting-Host | 1d5e73b6.news.zen.co.uk |
| X-Trace | DXC=BgjBYHEN6gdn:A2G\9[PMg0g@SS;SF6ngR9OH0:RnENdBYBfO_Y4lWiFJPo[XSAIj`P;lhKe>HmKh |
| X-Complaints-To | abuse@zen.co.uk |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:6802 |
Show key headers only | View raw
On 04/08/2011 22:46, Patricia Shanahan wrote: > On 8/4/2011 2:36 PM, markspace wrote: >> On 8/4/2011 1:58 PM, Patricia Shanahan wrote: >>> On 8/4/2011 11:27 AM, markspace wrote: >>>> On 8/4/2011 10:47 AM, Chris Riesbeck wrote: >>>>> In C++, an >>>>> overloaded postfix ++ >>>>> >>>> See? This is why I'm against any kind of operator overloading in Java. >>>> Too much stupid out there. >>> >>> So what operator should have been used for String concatenation, instead >>> of overloading "+"? We could use '.' Then we could use '->' for method invocation. And '::' for class namespace separators (or whatever they are called). ;-) >> I think the obvious interpretation of my comment should be "user defined >> operator overloading." >> >> > > Why should the appropriateness of an operator overloading be affected by > who did it? It shouldn't but I imagine markspace's objection might have been that whilst we all learn about the varied uses of '+' at the start of learning Java, I expect it can be a little perplexing when you encounter a '+' that makes no sense until you find where the original programmer defined an overload of that operator. Even worse might be a '+' that apparently makes sense but where you do not realise that the operator has been overloaded. Is this possible? -- RGB
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
Re: looping through a list, starting at 1 Roedy Green <see_website@mindprod.com.invalid> - 2011-08-03 15:40 -0700
Re: looping through a list, starting at 1 Arved Sandstrom <asandstrom3minus1@eastlink.ca> - 2011-08-03 20:53 -0300
Re: looping through a list, starting at 1 Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-03 21:10 -0400
Re: looping through a list, starting at 1 Gene Wirchenko <genew@ocis.net> - 2011-08-03 21:22 -0700
Re: looping through a list, starting at 1 "John B. Matthews" <nospam@nospam.invalid> - 2011-08-03 23:36 -0400
Re: looping through a list, starting at 1 RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-08-04 09:37 +0100
Re: looping through a list, starting at 1 Chris Riesbeck <Chris.Riesbeck@gmail.com> - 2011-08-04 12:47 -0500
Re: looping through a list, starting at 1 markspace <-@.> - 2011-08-04 11:27 -0700
Re: looping through a list, starting at 1 Patricia Shanahan <pats@acm.org> - 2011-08-04 13:58 -0700
Re: looping through a list, starting at 1 markspace <-@.> - 2011-08-04 14:36 -0700
Re: looping through a list, starting at 1 Patricia Shanahan <pats@acm.org> - 2011-08-04 14:46 -0700
Re: looping through a list, starting at 1 RedGrittyBrick <RedGrittyBrick@spamweary.invalid> - 2011-08-05 10:09 +0100
Re: looping through a list, starting at 1 Gene Wirchenko <genew@ocis.net> - 2011-08-05 14:46 -0700
Re: looping through a list, starting at 1 Eric Sosman <esosman@ieee-dot-org.invalid> - 2011-08-04 20:51 -0400
Re: looping through a list, starting at 1 Tim Slattery <Slattery_T@bls.gov> - 2011-08-05 08:38 -0400
Re: looping through a list, starting at 1 Andreas Leitgeb <avl@gamma.logic.tuwien.ac.at> - 2011-08-05 10:22 +0000
Re: looping through a list, starting at 1 Lew <lewbloch@gmail.com> - 2011-08-10 09:05 -0700
csiph-web