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

Home » Public Forums » archive » Re: compile a routine wich inlude a commun
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: compile a routine wich inlude a commun [message #47062 is a reply to message #47059] Sun, 22 January 2006 15:57 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
L. Testut writes:

> PS: I've bought your book this month, and I really enjoy to read it,
> but my wife thinks it's a bit strange to read a programming book in my
> bed before to sleep !

My wife thought it strange that I got up in the middle
of the night to write it. :-)

The kind of application you are talking about would
be perfect for objects. You can easily abstract a
common object for your four satellites (each is associated
with a filename, has a defined header size, returns
data, etc., etc.). But then each satellite data object
is subclassed from this common object, and implements
the particulars for each individual satellite. With
objects, the interface to the objects is exactly
the same, but the details are different internally.
This means you could add a fifth satellite without,
for example, having to change any of your underlying
application code. This is MUCH smarter than common
blocks, and it allows you to extend your application
easily in ways you do not yet anticipate.

I'm available for consultation, if you need help with this. :-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[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
Read Message
Read Message
Previous Topic: Re: IDLWAVE: no sympathy for the devil (vi vi vi)
Next Topic: Re: iTools Data Manager

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

Current Time: Sat Oct 11 18:47:31 PDT 2025

Total time taken to generate the page: 2.71873 seconds