From: Ole-Hjalmar Kristensen <ohk@clustra.com>
Subject: Re: friend classes in ada95 (long)
Date: 2000/04/25
Date: 2000-04-25T00:00:00+00:00 [thread overview]
Message-ID: <umqvh166sg0.fsf@gong2.clustra.com> (raw)
In-Reply-To: Pine.BSF.4.21.0004250857550.27906-100000@shell5.ba.best.com
Brian Rogoff <bpr@shell5.ba.best.com> writes:
> On 24 Apr 2000, Hyman Rosen wrote:
> > Brian Rogoff <bpr@shell5.ba.best.com> writes:
> > > It seems that I ruffled your feathers by using that word in the context of
> > > your favorite language. Sorry. I actually liked the signature extension of
> > > C++. I'd love to see such a feature grafted onto Ada.
> >
> > Sorry about that. My antennae sometimes get a little hyperextended in
> > c.l.a.
>
> You'll probably have to develop a thicker skin, or tougher antennae,
> because this is com.lang.ada after all. I'm similarly annoyed by the
> gratuitous C++ slamming, even though I prefer Ada to C++ for most tasks,
> but that's the nature of comp.lang.*
>
> > But as to signatures, I don't much care for them. It seems to
> > me that they are there to take advantage of accidents in function
> > naming, whereas interfaces are part of a design.
>
> Is that from actual use, or just reading and inference? I don't have any
> real data myself, I just read about GNU C++ signatures. I did use Sather
> for a while, which also had a powerful signature-like mechanism that
> permitted the addition of signatures (types in Sather parlance) above
> an existing class. This feature was mainly used to define type bounds in
> generic classes. Since C++ doesn't have constrained parametric
> polymorphism (yes, I know how to simulate it inelegantly in C++) this
> isn't as important there.
>
> The real revolutionary aspect of standard C++ which I wish Ada would copy
> is automatic generic/template instantiation. I think the modification to
> Ada (read "An Ada like language") would be better off omitting the full
> power of templates to do compile time calculations, and therefore omitting
> "template metaprogramming", but would still enhance Ada's abilities in a
> number of interesting ways.
>
> -- Brian
>
>
Yes, I think it's sensible to restrict the power of templates, at
least from an implementation view. I've seen so many C++ compilers
that either fail to compile, or generate wrong code for complex
templates. I still feel I cannot really trust C++ templates.
--
E pluribus Unix
next prev parent reply other threads:[~2000-04-25 0:00 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-04-14 0:00 friend classes in ada95 Stefan Folkesson
2000-04-14 0:00 ` John J. Rusnak
2000-04-14 0:00 ` swhalen
2000-04-14 0:00 ` Julian Day
2000-04-14 0:00 ` Steve Folly
2000-04-14 0:00 ` Robert A Duff
2000-04-17 0:00 ` John J. Rusnak
2000-04-18 0:00 ` Vincent Marciante
2000-04-18 0:00 ` John Rusnak
2000-04-18 0:00 ` Steve Folly
2000-04-14 0:00 ` Florian Weimer
2000-04-14 0:00 ` Stefan Folkesson
2000-04-15 0:00 ` Jeff Carter
2000-04-16 0:00 ` Robert Dewar
2000-04-16 0:00 ` David Botton
2000-04-17 0:00 ` Robert Dewar
2000-04-17 0:00 ` David Botton
2000-04-18 0:00 ` friend classes in ada95 (long) tmoran
2000-04-18 0:00 ` David Botton
2000-04-18 0:00 ` friend classes in ada95 Stanley R. Allen
2000-04-19 0:00 ` MI, was " tmoran
2000-04-19 0:00 ` David Botton
2000-04-19 0:00 ` friend classes in ada95 (long) Brian Rogoff
2000-04-19 0:00 ` David Botton
2000-04-19 0:00 ` Hyman Rosen
2000-04-19 0:00 ` Brian Rogoff
2000-04-23 0:00 ` Hyman Rosen
2000-04-23 0:00 ` Brian Rogoff
2000-04-24 0:00 ` Hyman Rosen
2000-04-25 0:00 ` Brian Rogoff
2000-04-25 0:00 ` Ole-Hjalmar Kristensen [this message]
2000-04-17 0:00 ` friend classes in ada95 David Botton
2000-04-18 0:00 ` Geoff Bull
2000-04-18 0:00 ` Jean-Pierre Rosen
2000-04-18 0:00 ` tmoran
2000-04-18 0:00 ` John J. Rusnak
2000-04-19 0:00 ` Robert Dewar
2000-04-19 0:00 ` Jean-Pierre Rosen
2000-04-19 0:00 ` Geoff Bull
2000-04-19 0:00 ` Robert Dewar
2000-04-19 0:00 ` Jeff Susanj
2000-04-19 0:00 ` tmoran
2000-04-19 0:00 ` Bill Greene
2000-04-19 0:00 ` Robert Dewar
2000-04-19 0:00 ` Jeff Carter
2000-04-19 0:00 ` Ray Blaak
2000-04-20 0:00 ` Robert Dewar
2000-04-20 0:00 ` Ray Blaak
2000-04-20 0:00 ` Charles Hixson
2000-04-21 0:00 ` Jean-Pierre Rosen
2000-04-29 0:00 ` Aidan Skinner
2000-04-29 0:00 ` Robert I. Eachus
2000-04-21 0:00 ` Jon S Anthony
2000-04-20 0:00 ` Jean-Pierre Rosen
2000-04-20 0:00 ` Robert Dewar
2000-04-20 0:00 ` Brian Rogoff
2000-04-20 0:00 ` BSCrawford
2000-04-20 0:00 ` Jean-Pierre Rosen
2000-04-20 0:00 ` Ray Blaak
2000-04-20 0:00 ` Jean-Pierre Rosen
2000-04-24 0:00 ` Ray Blaak
2000-04-20 0:00 ` Robert Dewar
2000-04-20 0:00 ` Jeff Carter
2000-04-21 0:00 ` Robert Dewar
2000-04-21 0:00 ` Ken Garlington
2000-04-21 0:00 ` Jon S Anthony
2000-04-22 0:00 ` Robert Dewar
2000-04-19 0:00 ` David Botton
2000-04-19 0:00 ` Robert Dewar
2000-04-20 0:00 ` Geoff Bull
2000-04-19 0:00 ` Robert Dewar
2000-04-19 0:00 ` Ehud Lamm
2000-04-18 0:00 ` Pascal Obry
2000-04-18 0:00 ` David Botton
2000-04-18 0:00 ` John Rusnak
2000-04-19 0:00 ` Robert Dewar
2000-04-18 0:00 ` David Botton
2000-04-16 0:00 ` Jeff Carter
2000-04-16 0:00 ` David Botton
2000-04-17 0:00 ` Robert Dewar
2000-04-17 0:00 ` Hyman Rosen
2000-04-17 0:00 ` Robert Dewar
2000-04-17 0:00 ` Robert I. Eachus
2000-04-18 0:00 ` Robert Dewar
2000-04-19 0:00 ` Robert I. Eachus
2000-04-20 0:00 ` Robert Dewar
2000-04-20 0:00 ` Ray Blaak
2000-04-23 0:00 ` Robert I. Eachus
2000-04-19 0:00 ` Alfred Hilscher
2000-04-19 0:00 ` Ray Blaak
2000-04-19 0:00 ` Robert Dewar
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox