[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Picking the Tools -- Marrying processing models to data models

  • From: "Al B. Snell" <alaric@a...>
  • To: Uche Ogbuji <uche.ogbuji@f...>
  • Date: Wed, 23 May 2001 11:02:47 +0100 (BST)

Re: Picking the Tools -- Marrying processing models to data models
On Tue, 22 May 2001, Uche Ogbuji wrote:

> > Aye. The fact that you can replace any part of the system by another part
> > implementing the same interface without having to delve into the original
> > source helps.
> 
> Where does the mistaken idea come from that this is proprietary to OO
> systems?  It precedes at least C++ and Smalltalk, since structured
> programming allows the same.  It's also quite possible once you've moved
> beyond OO for modeling.

It's not unique to OO systems, it's just kind of automatic. If somebody
writes an OO system, unless they do something stupid you can swap your own
classes in for theirs by using polymorphism. Without virtual method
dispatch you can't do this particularly well (I guess you can use dynamic
linker tricks, but does that count? :-)

> You can, again, do this quite handily without messing with inheritance, as
> long as your tools allow you.  OO tools largely restrict you to
> inheritance for black-box substitution.  This is exactly one of the
> problems I have with it. 

No! Polymorphism! The existing code relies on an object implementing a
given interface, and you can write other classes to implement that
interface and swap them in, you don't have to subclass the existing
"Customer" class.

> What you and Mike seem to be touting is common sense that needs no help
> from OO, and indeed precedes OO, and will survive it.

Many programming language features enforce common sense, because
programmers and software engineers don't have it. The antithesis is Perl!

ABS

-- 
                               Alaric B. Snell
 http://www.alaric-snell.com/  http://RFC.net/  http://www.warhead.org.uk/
   Any sufficiently advanced technology can be emulated in software  


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.