comp.lang.ada
 help / color / mirror / Atom feed
From: Darren New <dnew@san.rr.com>
Subject: Re: Small question concerning use
Date: Tue, 16 Oct 2001 19:31:14 GMT
Date: 2001-10-16T19:31:14+00:00	[thread overview]
Message-ID: <3BCC8AF0.A8B1115D@san.rr.com> (raw)
In-Reply-To: qAWy7.31184$ev2.37455@www.newsranger.com

Ted Dennison wrote:
> I'd say you should stick with full dot notation until you get your feet fully
> under you. After you get used to it, you may find that things like
> Ada.Strings.Unbounded.To_Unbounded_String aren't really all that bad.

I'd be bothered by such stuff less if it wasn't so repetitive. 
Ada.Streams.Stream_Element_Count instead of Ada.Streams.Count?
How many times do I have to say "Unbounded" or "String"?
The problem comes when there's a 6-line expression like
i : Ada.Strings.Unbounded.Unbounded_String :=
  Ada.Strings.Unbounded.To_Unbounded_String(J)
   Ada.String.Unbounded."&"
  Ada.Strings.Unbounded.To_Unbounded_String(K);

I don't see that as at all readable. I'm not sure quite what would be
better, tho. I'm just a newbie. :-)

-- 
Darren New 
San Diego, CA, USA (PST). Cryptokeys on demand.
                   Who is this Dr. Ibid anyway, 
                  and how does he know so much?



  reply	other threads:[~2001-10-16 19:31 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-15 22:28 Small question concerning use Eric Merritt
2001-10-16  6:34 ` Rename is much better Petter Fryklund
2001-10-16 12:28 ` Small question concerning use Marc A. Criley
2001-10-16 13:27 ` Ted Dennison
2001-10-16 19:31   ` Darren New [this message]
2001-10-16 20:26     ` Ted Dennison
2001-10-16 21:26       ` David Starner
2001-10-17  0:18         ` tmoran
2001-10-17  2:48           ` Darren New
2001-10-17 10:52             ` Larry Kilgallen
2001-10-17 13:48             ` Ted Dennison
2001-10-17 14:21         ` Ted Dennison
2001-10-16 20:35     ` Ted Dennison
2001-10-16 13:54 ` Marin David Condic
2001-10-18 18:46 ` Dr. Michael Paus
replies disabled

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