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

Home » Public Forums » archive » Re: SOLVED. Re: Function referencing/automatic defintion question.
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: SOLVED. Re: Function referencing/automatic defintion question. [message #35318] Fri, 30 May 2003 12:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst (paul.vandelst@noaa.gov) writes:

> Huh? Either they're related or they're not. Why should whether you write the code
> procedurally (is that a word?) or OO-ly make any difference? Apart from increasing the
> calling overhead in the case of the OO way (in the manner that I like to use "objects").

I'm going to let the manner in which you like to use objects
pass. Let's just say I've been making notes for my book,
but I promise not to include real names. :-)

But let me just quote the Coyote Rule for Grouping
Program Modules:

"Think of file groupings as *commands*. All the
program modules that make up a single IDL command
go in a single file, with the last module in the
file having the "name" of the command. If you
plan to call any other module in the file anywhere
outside the confines of the program modules already
in the file, then that program module should be yanked
out of that file by the short hairs and placed in its
own file and named accordingly. To do otherwise is to
risk complications when you can least afford them.
Namely all manner of hell is likely to break loose."

Cheers,

David

P.S. I hope we don't even get into the Object Confessional
mode around here. I would be embarrassed to admit to some
of the strange things I thought about objects when I first
started using them. Talk about some truly ugly programs...

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Is there a simple way to plot field lines?
Next Topic: context-sensitive menus on LINUX?

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

Current Time: Wed Oct 08 18:36:30 PDT 2025

Total time taken to generate the page: 0.00181 seconds