From: mcsun!sun4nl!cwi.nl!guido@uunet.uu.net (Guido van Rossum)
Subject: Re: Multiple Inheritance in Ada 9X/Pointers?
Date: 15 Jan 92 14:04:07 GMT [thread overview]
Message-ID: <5137@charon.cwi.nl> (raw)
rosen@cyclope.enst.fr (Jean-Pierre Rosen) writes:
>Of course,Ada lets you easily hide that a structure is implemented by pointers
>into the depth of a package body, provided you distinguish between Abstract
>data types with object semantics and those with value semantics. On the other
>hand, I can't imagine how you could effectively do that in C/C++: the ultimate
>representation "percolates" all the way to the end user. For example: can you
>imagine you can explain someone the behaviour of strings in C/C++ without
>mentionning that a string is nothing but a pointer to character?
True for string meaning "char*", but that's inherently a low-level
concept in C++. You can easily implement a string class with either
object or value semantics.
--Guido van Rossum, CWI, Amsterdam <guido@cwi.nl>
"All right, it's a fair cop, but society is to blame."
next reply other threads:[~1992-01-15 14:04 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1992-01-15 14:04 Guido van Rossum [this message]
-- strict thread matches above, loose matches on Subject: below --
1992-01-14 9:21 Multiple Inheritance in Ada 9X/Pointers? Jean-Pierre Rosen
1992-01-10 1:39 mole-end!mat
1992-01-09 2:59 bu.edu!rpi!zaphod.mps.ohio-state.edu!caen!uvaarpa!software.org!blakemor
1992-01-09 0:18 Paul Barton-Davis
1992-01-08 22:56 micro-heart-of-gold.mit.edu!wupost!zaphod.mps.ohio-state.edu!cis.ohio-sta
1992-01-08 19:51 agate!tully.CS.Berkeley.EDU!hilfingr
1992-01-08 15:38 ub!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!elephant.cis.ohio-state.e
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox