comp.lang.ada
 help / color / mirror / Atom feed
From: "Ehud Lamm" <mslamm@mscc.huji.ac.il>
Subject: Re: Please review and comment
Date: Wed, 1 Aug 2001 22:57:10 +0300
Date: 2001-08-01T22:57:10+03:00	[thread overview]
Message-ID: <9k9neq$h0n$1@news.huji.ac.il> (raw)
In-Reply-To: VlX97.14112$ar1.47292@www.newsranger.com


Ted Dennison <dennison@telepath.com> wrote in message
news:VlX97.14112$ar1.47292@www.newsranger.com...
> In article <9k9a46$8f1$1@news.huji.ac.il>, Ehud Lamm says...

> I would actually tell beginners to use perfectly-sized strings, and only
resort
> to Ada.Strings.* when the above can't be easily done. Newbies can indeed
be
> pointed at the spec for Ada.Strings.Unbounded without much other
explanatory
> text. Its the techniques for creating and dealing with perfectly-sized
strings
> in Ada that really need to be shown.
>
>

> Its true that Strings are, in a way, just a special case of dealing with
> unbounded arrays. However, they are also the case that a newbie is most
likely
> to stumble across first. Get them comfortable with strings, then show them
that
> *any* array can be used this way, and watch the mental lightbulb go on.
Its
> kinda fun whenever I do it.
>

Amen to that. You just rephrased what I thought I said...

(In fact I recall submitting some FAQ entries on working with fixed sized
strings - of type String - maybe they are on AdaPower somewhere).

Ehud





  reply	other threads:[~2001-08-01 19:57 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-01  0:48 Please review and comment James Rogers
2001-08-01  1:30 ` tmoran
2001-08-01  3:38   ` James Rogers
2001-08-01 15:01     ` Ted Dennison
2001-08-01 15:24       ` Preben Randhol
2001-08-01 14:47 ` Ted Dennison
2001-08-01 15:44   ` Marin David Condic
2001-08-01 16:17   ` Ehud Lamm
2001-08-01 17:52     ` Ted Dennison
2001-08-01 19:57       ` Ehud Lamm [this message]
2001-08-01 20:10       ` Ehud Lamm
2001-08-01 15:58 ` Ehud Lamm
2001-08-02  2:10   ` Navid Azimi
2001-08-02  3:47     ` tmoran
2001-08-02 15:12     ` Ted Dennison
2001-08-02  7:16   ` Martin Dowie
2001-08-02 10:16     ` Ehud Lamm
2001-08-02 10:49       ` Martin Dowie
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox