From: Matthew Woodcraft <mattheww@chiark.greenend.org.uk>
Subject: Re: Bounds of Slice's return value
Date: 19 Jan 2002 17:19:49 +0000
Date: 2002-01-19T17:19:49+00:00 [thread overview]
Message-ID: <87n0za6yx6.fsf@chiark.greenend.org.uk> (raw)
In-Reply-To: wccit9yif85.fsf@shell01.TheWorld.com
Robert A Duff <bobduff@shell01.TheWorld.com> writes:
> Matthew Woodcraft <mattheww@chiark.greenend.org.uk> writes:
> > Thanks. I'm glad they're nailing it down; it seems to be a needless
> > source of hard-to-spot errors, otherwise.
> The fact that Ada allows strings to start at other than 1, depending
> on where they came from, is a "needless source of hard-to-spot errors"
> even in cases where it *is* nailed down. Sigh.
I agree it's an unpleasant source of errors. But it's only needless if
there's a fix available.
Perhaps saying that strings are just arrays of characters isn't such a
good idea? Or do you think arrays with differing lower bounds are the
trouble?
-M-
next prev parent reply other threads:[~2002-01-19 17:19 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-18 23:16 Bounds of Slice's return value Matthew Woodcraft
2002-01-19 1:24 ` Jeffrey Carter
2002-01-19 10:45 ` Matthew Woodcraft
2002-01-19 14:32 ` Robert A Duff
2002-01-19 17:19 ` Matthew Woodcraft [this message]
2002-01-21 20:19 ` Matthew Heaney
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox