comp.lang.ada
 help / color / mirror / Atom feed
From: Yukicanis <yukicanis@googlemail.com>
Subject: Re: type access Parent'Class
Date: Thu, 24 Nov 2011 03:18:16 -0800 (PST)
Date: 2011-11-24T03:18:16-08:00	[thread overview]
Message-ID: <1ecb7970-bd1c-4f09-bb96-d56648faa6b1@m10g2000vbc.googlegroups.com> (raw)
In-Reply-To: op.v5f4ylctule2fv@douda-yannick

On 24 Nov., 11:33, Yannick Duchêne (Hibou57)
<yannick_duch...@yahoo.fr> wrote:
> Le Mon, 21 Nov 2011 20:33:22 +0100, Robert A Duff
> <bobd...@shell01.theworld.com> a écrit:> I also suggest you put most of your code in packages, rather than
> > in the main procedure.  That will also help avoid confusion, because
> > things behave differently when inside procedures.  For example,
> > you can't have any dispatching procedures unless you put the type
> > in a package spec.
>
> And also because Access to stuffs at library level is often more handy and
> more general.
>
> --
> “Syntactic sugar causes cancer of the semi-colons.” [1]
> “Structured Programming supports the law of the excluded muddle.” [1]
> [1]: [Epigrams on Programming — Alan J. — P. Yale University]

Indeed. When I use C++, I also put every class in its own file. So I
do with Ada.

Thanks to everyone. It's nice to have this group. :)



  reply	other threads:[~2011-11-24 11:42 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-21 19:03 type access Parent'Class Yukicanis
2011-11-21 19:25 ` Adam Beneschan
2011-11-21 19:40   ` Yukicanis
2011-11-21 19:45     ` Robert A Duff
2011-11-21 19:46       ` Yukicanis
2011-11-21 23:45   ` Gene
2011-11-22  8:42     ` Dmitry A. Kazakov
2011-11-22 10:07       ` Georg Bauhaus
2011-11-22 13:27         ` Simon Wright
2011-11-22 16:13           ` Georg Bauhaus
2011-11-21 19:33 ` Robert A Duff
2011-11-21 19:44   ` Yukicanis
2011-11-24 10:33   ` Yannick Duchêne (Hibou57)
2011-11-24 11:18     ` Yukicanis [this message]
2011-11-21 21:09 ` Jeffrey Carter
replies disabled

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