home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / lang / cplus / 15822 < prev    next >
Encoding:
Text File  |  1992-11-05  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.lang.c++,bnr.lang.c++
  2. Path: sparky!uunet!uchdcc!gschwarz
  3. From: gschwarz@dcc.uchile.cl (Guillermo Schwarz Utrup (Coto))
  4. Subject: Re: Criticisms wanted
  5. Sender: usenet@dcc.uchile.cl (Network News)
  6. Message-ID: <1992Nov05.152019.18488@dcc.uchile.cl>
  7. Date: Thu, 05 Nov 1992 15:20:19 GMT
  8. References: <1d87ooINN10l@bHARs12c.bnr.co.uk>
  9. Organization: Universidad de Chile, Depto. de Ciencias de la Computacion
  10. X-Newsreader: TIN [version 1.1 PL6]
  11. Lines: 18
  12.  
  13. D.S.Riches (dsr@bnr.co.uk) wrote:
  14. : I'd like to know about other issues such as; is C++ easier to test than
  15. : C, is it possible to determine which object is invoked before another
  16. : object and so on.
  17.  
  18.   Each module (I mean each Class) is easier to test because it clearly
  19. performs a task and it can be tested by any program only by declaring
  20. an instance of that class. If the class works, the problem is not there.
  21. If all classes works, there is no problem :-)
  22.  
  23.   That's theory, no software really works (refer to Murphy's laws), but
  24. it seems to work more times than C modules do.
  25.  
  26.   Besides, with a C++ debugger you can realize which method call which class.
  27. If you don't have one C++ debugger forget it, buy one first.
  28.  
  29.   Hope it helps.
  30.