Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!asuvax!ncar!unmvax!uokmax!servalan!epmooch!ben From: ben@epmooch.UUCP (Rev. Ben A. Mesander) Newsgroups: comp.sys.amiga.programmer Subject: Re: C++ Message-ID: Date: 13 Apr 91 03:38:06 GMT References: <1991Apr10.000254.24530@mintaka.lcs.mit.edu> <7257@harrier.ukc.ac.uk> <36771@ditka.Chicago.COM> Lines: 29 >In article <36771@ditka.Chicago.COM> comeau@ditka.Chicago.COM (Greg Comeau) writes: >In article <7257@harrier.ukc.ac.uk> mr3@ukc.ac.uk (M.Rizzo) writes: >>In article ben@epmooch.UUCP (Rev. Ben A. Mesander) writes: >>>>In article <1991Apr10.000254.24530@mintaka.lcs.mit.edu> rjc@geech.gnu.ai.mit.edu (Ray Cromwell) writes: >>>>With data abtraction, you can operate on structures and not >>>>even know what's inside them! >>>Hah! I can do this is almost any language! I don't need C++ to help me do >>>that! >>But the C++ compiler will catch violations and a non-OOP language compiler >>won't. Also C++ provides a more natural syntax for describing abstractions. >>And member functions of different classes can have the same name (which is >>important for polymorphism) - you can't do this in C say. > >Exactly. > >And that's only a sampling! Uh, before you guys take this too seriously, my original posting was a *joke*. Yes Virginia, in any language, it is possible to operate on the contents of structures without knowing what was in them -- inadvertantly. Glad to know it's a *feature* of C++! (close :-) for the humour impaired) -- | ben@epmooch.UUCP (Ben Mesander) | "Cash is more important than | | ben%servalan.UUCP@uokmax.ecn.uoknor.edu | your mother." - Al Shugart, | | !chinet!uokmax!servalan!epmooch!ben | CEO, Seagate Technologies |