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