home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!munnari.oz.au!metro!extro.ucc.su.OZ.AU!maxtal
- From: maxtal@extro.ucc.su.OZ.AU (John MAX Skaller)
- Subject: Re: Why is C++ not considered a true OOL?
- Message-ID: <1993Jan22.194724.22151@ucc.su.OZ.AU>
- Sender: news@ucc.su.OZ.AU
- Nntp-Posting-Host: extro.ucc.su.oz.au
- Organization: MAXTAL P/L C/- University Computing Centre, Sydney
- References: <19JAN199315162645@trentu.ca> <51571@shamash.cdc.com> <1993Jan21.034840.11361@syacus.acus.oz.au>
- Date: Fri, 22 Jan 1993 19:47:24 GMT
- Lines: 50
-
- In article <1993Jan21.034840.11361@syacus.acus.oz.au> ian@syacus.acus.oz.au (Ian Joyner) writes:
-
- >A good language will 'help' you write good programs, especially where a
- >team of a number of people are concerned. OOP helps organise a project
- >somewhat, and C++'s OO features are a help in this way. However, since
- >it is based on C it is less of a help than could be desired from a
- >purer OOL.
- >
- >Some people see pure OOLs as restrictive.
-
- Especially if they favour writing some programs
- using an ADT approach rather than an OO one.
-
- C++ lack of restrictions may be seen as an advantage then.
- It saves swapping languages for different types of project.
- This enables reuse of existing codes.
-
- >But it is rather like having
- >a traffic system that has a rule that you drive down one side of a road.
- >It might seem restrictive if you are on an empty road, but in a busy
- >street, it makes it possible to get to where you are going. I am not
- >really convinced of the power of C++ over other languages, but with
- >it you can certainly drive in all sorts of directions, and this does
- >not necessarily help in the economic production of quality software.
-
- It is certainly true that if you mix your idioms
- in C++ you get a mess. However, writing consistent
- programs using one of the many styles supported by C++
- is possible, it just takes extra learning.
-
- perhaps, C++ lets you catch an ADT train or
- even walk the C street, rather than trying to drive
- through an OO traffic jam :-)
-
- Besides, there are different "OO" styles,
- and the difference between say Object heirarchy
- based programming with dynamic downcasts, and
- mixin style using abstract virtual bases and
- multiple inheritance are probably so great
- that it is hard to think of both as the same OO.
- C++ allows both. A "pure" OOPL probably could not.
-
-
-
-
- --
- ;----------------------------------------------------------------------
- JOHN (MAX) SKALLER, maxtal@extro.ucc.su.oz.au
- Maxtal Pty Ltd, 6 MacKay St ASHFIELD, NSW 2131, AUSTRALIA
- ;------ SCIENTIFIC AND ENGINEERING SOFTWARE ---ph: 2 799 8223 --------
-