comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » IDL objects and names
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL objects and names [message #34064 is a reply to message #33970] Wed, 12 February 2003 08:42 Go to previous messageGo to previous message
Randall Skelton is currently offline  Randall Skelton
Messages: 169
Registered: October 2000
Senior Member
> No, I'm afraid it is true. One of the huge disadvantages of
> IDL objects is that they are based on named structures, which
> means the field names in the structure can't be duplicated.
> In practice, this makes it hard to have deep inheritance
> hierarchies. But what is even worse, is it makes it extremely
> difficult to have multiple inheritance hierarchies.

IMHO, this isn't simply a huge disadvantage, but a colossal problem. If
you look at some of tricks employed in Martin Shultz's scientific objects
or the HESSI objects, you begin to realize much of the power of objects is
squandered by RSI's limited implementation. This combined with the lack
of public methods and operator overloading seriously reduces the
usefulness of OOP in IDL for actual computing. I agree with David that
you can write relatively simple objects with strict naming for an inherited
level or two; alas, as soon as you start to work with complex objects
with many levels, you end up chasing name clashes and conflicting
containers.

I can only hope that this will be fixed once and for all in IDL 6.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: missing a dimension in IDLgrVolume
Next Topic: Re: Questions about using CATCH

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:27:39 PDT 2025

Total time taken to generate the page: 0.00461 seconds