Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!uunet!igor!rutabaga!jls From: jls@rutabaga.Rational.COM (Jim Showalter) Newsgroups: comp.object Subject: Re: Object-Oriented vs. Object-Based Keywords: Ada Message-ID: Date: 10 Apr 91 01:51:20 GMT References: <1991Apr3.231849.13410@m.cs.uiuc.edu> <1991Apr4.172417.3266@linus.mitre.org> <18247@crdgw1.crd.ge.com> Sender: news@Rational.COM Lines: 33 >My understanding of "Object-based" is that it is a system using objects but >without inheritence. Object based systems allow you to create objects (at run >time) and have methods that apply to that object but the methods can not be >used for other objects as can be done with inheritence. Exactly. I would have much preferred to have seen the distinction made between object-oriented and inheritance-oriented, which is a lot more intuitive than the distinction between object-based and object-oriented. >Not being familiar with Ada I don't know if it is object based. Indeed it is. It does a very good job of allowing you to encapsulate data, hide information, and abstract objects. It also allows you to compose objects out of other objects, and provides direct support for concurrency among objects. It does not provide for much in the way of inheritance. >On a project I am currently on is Object based due to some >constraints which due not allow us to use inheritence. I have found it to be >a useful approach and more powerful than C which is what the object based >system is built on. Not surprising. Personally, I think it is the ability to create objects and encapsulate abstractions that provides 90% of the actual software engineering value available from object-oriented languages. The other 10% is provided by inheritance. Considering that many of the programmers I've encountered don't even grasp the concept of an interface, it is fairly predictable that they'd realize significant benefits from using objects. -- * The opinions expressed herein are my own, except in the realm of software * * engineering, in which case I borrowed them from incredibly smart people. * * * * Rational: cutting-edge software engineering technology and services. *