Re: Java Indexing- Historical question
- From: Lew <noone@xxxxxxxxxxxxx>
- Date: Mon, 26 Jan 2009 21:05:35 -0500
Eric Sosman wrote:
Martin Gregorie wrote:On Sun, 25 Jan 2009 19:27:07 -0800, Tom McGlynn wrote:
This is an interesting and somewhat religious topic. I'm fairlyThe ability to specify upper and lower bounds is probably more useful in engineering and scientific programs than in commercial code and processing logic. [...]
agnostic on the choice between the two. Nor am I sure the benefits of
allowing the user to specify the bounds would outweigh the cost of
ambiguity in understanding what an array index means in an arbitrary
context. [
long[] endOfYearBalancesThisDecade = new long[2001:2010];
(Imaginary syntax, of course.)
= new long[2000:2009];
--
Lew
.
- Follow-Ups:
- Re: Java Indexing- Historical question
- From: Patricia Shanahan
- Re: Java Indexing- Historical question
- References:
- Java Indexing- Historical question
- From: Gilbert
- Re: Java Indexing- Historical question
- From: Ben Kaufman
- Re: Java Indexing- Historical question
- From: Lew
- Re: Java Indexing- Historical question
- From: Tom McGlynn
- Re: Java Indexing- Historical question
- From: Martin Gregorie
- Re: Java Indexing- Historical question
- From: Eric Sosman
- Java Indexing- Historical question
- Prev by Date: Re: Java Indexing- Historical question
- Next by Date: ExamClear help you to pass Sun SCEA5 310-052 exams
- Previous by thread: Re: Java Indexing- Historical question
- Next by thread: Re: Java Indexing- Historical question
- Index(es):
Relevant Pages
|