home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / lang / cplus / 18888 < prev    next >
Encoding:
Text File  |  1993-01-10  |  2.1 KB  |  48 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!rational.com!thor!rmartin
  3. From: rmartin@thor.Rational.COM (Bob Martin)
  4. Subject: Re: feedback wanted on appropriate OOPL
  5. Message-ID: <rmartin.726674455@thor>
  6. Sender: news@rational.com
  7. Organization: Rational
  8. References: <1992Dec30.171527.3534@informix.com> <1992Dec28.173620.14793@microsoft.com> <1992Dec29.011354.5929@informix.com> <726278910snx@trmphrst.demon.co.uk>
  9. Date: Sun, 10 Jan 1993 14:00:55 GMT
  10. Lines: 36
  11.  
  12. Regarding Smalltalk and C++ and the different styles used in each.
  13.  
  14. I learned OOP in 1985 by studying Goldberg's Smalltalk-80 books and
  15. obtaining a Smalltalk compiler.  I learned C++ in 1986 by reading
  16. Stroustrup's book and eventually playing with cfront. 
  17.  
  18. While I find that there are gross differences in the languages, and
  19. that they do indeed promote different styles of programming.  I also
  20. note that they are unified under the concept of Object Oriented
  21. Design.
  22.  
  23. The *General* principles of OOD apply equally to C++ and stalk.
  24. Certainly there are specific aspects of OOD which do not, such as MI.
  25. But the mainstream concepts are equally applicable.  It is quite
  26. possible to design an application using OOD and then implement it
  27. either in stalk or C++.
  28.  
  29. This issue, imho, is far more importnat than the style that stalk or
  30. c++ engenders.  If the style of the application is driven by the
  31. language being used, it implies that the application was not designed.
  32. The style of the application should be driven by the design.  The
  33. effects that the language has on that style should be peripheral, and
  34. not very significant.
  35.  
  36. A language can have a significant impact, however, on quality,
  37. run-time efficiency and coding efficiency.  C++ will certainly catch
  38. more programmer errors than stalk, and probably generate faster code.
  39. But stalk's incremental environment is a joy when one or two guys are
  40. in fast prototype mode.
  41.  
  42.  
  43. --
  44. Robert Martin                        Training courses offered in:
  45. R. C. M. Consulting                       Object Oriented Analysis
  46. 2080 Cranbrook Rd.                        Object Oriented Design
  47. Green Oaks, Il 60048 (708) 918-1004       C++
  48.