home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.forth
- Path: sparky!uunet!cs.utexas.edu!torn!cunews!csi.uottawa.ca!news
- From: cbbrowne@csi.uottawa.ca (Christopher Browne)
- Subject: Re: Free Forth
- Message-ID: <1992Aug14.025506.659@csi.uottawa.ca>
- Sender: news@csi.uottawa.ca
- Nntp-Posting-Host: prgv
- Organization: Dept. of Computer Science, University of Ottawa
- References: <BEVAN.92Aug11091421@jaguar.cs.man.ac.uk> <1992Aug12.222916.19843@crd.ge.com> <BEVAN.92Aug13104818@jaguar.cs.man.ac.uk>
- Date: Fri, 14 Aug 92 02:55:06 GMT
- Lines: 54
-
- In article <BEVAN.92Aug13104818@jaguar.cs.man.ac.uk> bevan@cs.man.ac.uk (Stephen J Bevan) writes:
- >In article <1992Aug12.222916.19843@crd.ge.com> eaker@ukulele.crd.ge.com (Chuck Eaker) writes:
- > In article <BEVAN.92Aug11091421@jaguar.cs.man.ac.uk>, bevan@cs.man.ac.uk (Stephen J Bevan) writes:
- > |> "Because C++ is `objected oriented' and so it must be better"
- > |> Seriously that is the answer I got when I asked the same question.
- > |> At this point I just gave up and walked away.
- >
- > Do not dismiss object-orientation so quickly.
- >
- >I'm not dismissing OO, even though I think it has been hyped beyond
- >belief. Look at the sentence I quoted. Would you take someone
- >seriously if they pumped out trash like that? To me it was a classic
- >case of "Emperor's new clothes".
- >
- >
- > I've had the good fortune of using C++ on a 2 year project in a
- > place where people literally wrote the book on object-oriented
- > analysis and design (at least one of them :-). Once you've tried
- > it, you won't go back.
- >
- >Well guess what I was doing with C++ back in '86 :-)
- >As to going back, I'm not sure as I'm still not sure what OO is.
- >Everybody has their own idea about what the essence of OO is and they
- >are often conflicting. I think can currently be called an "object
- >based" rather than "object oriented" programmer, but the former is
- >just a new label on an old idea.
-
- Once in a while, there's a neat article in Communications of the ACM.
- This month, there's one that rags on "Object Oriented Programming." It
- criticizes what IS one of the weaknesses; specifically, classes and
- inheritance. Have you ever seen an example in a text that is actually
- about something COMPUTER related, or was it something contrived that
- happens to break down into classes in some natural way? The authors
- comment that systems like Smalltalk have proliferations of class trees
- that don't really describe what you see in "real life," using the
- numeric classes as an example.
-
- One MAJOR weakness is the fact that most class systems don't allow the
- subclasses to DISINHERIT features that are unnecessary. For instance,
- a "squares" is clearly a subclass of "rectangles," since a square IS
- a rectangle, but NOT vice-versa. Unfortunately, a square class would
- inherit from rectangle the characteristics "length" and "width", which
- introduces a redundant characteristic, since a square is a rectangle
- with equal sides. Class systems don't typically let you get rid of that
- extra characteristic.
-
- The authors suggest roughly that same phrase "object based" as you do.
- It's unfortunate that "object oriented" has so much baggage attached to
- it...
- --
- Christopher Browne
- cbbrowne@csi.uottawa.ca
- University of Ottawa
- Master of System Science Program
-