TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: DARIN MCBRIDE
from: ROGER SCUDDER
date: 1998-02-14 11:31:00
subject: Not so sloppy after all

Hello Darin.
10 Feb 98 19:56, Darin McBride wrote to Roger Scudder:
RS>>  Hmmm... I find it fascinating the way some of the rules have been
RS>>  changed.  The concept of constructors and destructors does feel
RS>>  natural and right to me.  I seem to need to examine each thing that
RS>>  I have learned about procedural programming and apply it to C++
DM>                        ^^^^^^^^^^^^^^^^^^^^^^
RS>>  to find out what is different....  what works and what does not.
DM> Wrong answer, Roger.  ;-)  C++ is an an OBJECT-ORIENTED programming 
DM> language.  (Technically, purists claim it isn't that OO, but it does 
DM> endeavor to be a realistic OO language - i.e., one that works at a 
DM> reasonable speed.)
 Ah Shucks!!! does this mean I don't get the car???   Seriously, I know
 that C++ is an OO language.  I think you misunderstood what I was
 writing.  I mean that I think I can benefit from trying to apply what
 I know about procedural languages, ie; C, COBOL, BASIC, etc... to
 C++ and find out what all the differences are...  I have gained
 understanding by making false assertions here.  I don't care about
 my ego or if everyone here thinks I am a complete idiot.  As long as
 I am learning the language I am getting what I came for.
DM> Objects are supposed to take care of themselves.  You send "messages" to 
it 
DM> (call its member functions), but let them handle their details.  It's 
DM> similar to an abstract data type in C, except that you don't need to 
DM> explicitly "close" the data type.
 It seems to be very different than C to me.  I am slowly gaining an
 understanding of OOP.  I have been following a online class and the
 instructor has us doing things like describing the process of making
 a cup of coffee.  Pre and Post conditions must be described.  I guess
 that is a key part of Abstract Data Types... that each method will
 have pre and post conditions for the data that it acts upon.
 What I don't understand, (and I probably will need to read a great
 deal more before I do) is just what this pure OOP is.  It seems to me
 that OOP is making it's mark all over the programming world... the
 explosion in JavaScript for instance.
 -------------/-------------
 Getting back to the language at hand.  What is the difference between
 a constructor and a copy constructor?
 -Roger
... A program is used to turn data into error messages
--- Msged 4.20 beta 3
(1:273/404@fidonet)
---------------
* Origin: Hodge-Podge Support BBS, Upper Darby, Pennsylvania, USA

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.