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

Home » Public Forums » archive » IDLgrLegend broken
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: IDLgrLegend broken [message #22919 is a reply to message #22867] Mon, 11 December 2000 13:22 Go to previous messageGo to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
"Pavel A. Romashkin" <pavel.romashkin@noaa.gov> wrote in message
news:3A351026.2C587812@noaa.gov...
>> You are right [and I was wrong]
>
> Oh, no. Mark, I never meant to make it sound like that. I apologize if
> you feel I insisted *you* were wrong.

Please don't apologise. You didn't insist I was wrong. I was wrong all by
myself! I've been wrong about this subject (order of searching for
method definitions) for a couple of years now and it's good to have
someone actually check things out and correct me.

Perhaps my posting (quoted above in its full) sounded digruntled...or
tragic? I thought it was just succinct. Somehow people misunderstand me when
I am succinct. I used to have a message on my answerphone that said

"Mark here. Please leave a message."

I thought that said it all, but I had to alter it because of the complaints.
(I got one of the females in my household to record a more human-friendly
message. You know the sort of thing: "You have reached the house of ......
No-one can come to the phone right now but we'd love to hear from you so
please leave a message after the beep." Me, I find it slightly insulting to
be told stuff I already know (like I don't know to leave the message after
the beep?) but I accept that the rest of the human race (well, the female
half anyway) likes to use redundant communication for personal affirmation,
sort of a form of verbal grooming. (I read about it in "Men are from Mars.
Women are from Venus".)

But I digress...

> ...use explicit naming to avoid *all* confusion. Who will follow
> this path, anyway, with dozens of methods for every object.

I don't think that it's out of the question to have each method definition
in a separate file. This wouldn't cause excessive clutter if you put each
class definition in its own directory. I'm not sure what the effect on
performance would be: more directory searching would be required but time
would be saved in not compiling methods until they're used (if ever).

The only reason cited in the IDL documentation for bundling class
definitions into a single file is this one:

"Note - If you are working in an environment where the length of
filenames is limited, you may want to consider defining all object
methods in the same .pro file you use to define the class structure.
This practice avoids any problems caused by the need to prepend
the classname and the two underscore characters to the method
name. If you must use different .pro files, make sure that all class
(and superclass) definition filenames are unique in the first eight
characters.

But who uses IDL on "environments where the length of file names is limited"
these days?

---
Mark Hadfield
m.hadfield@niwa.cri.nz http://katipo.niwa.cri.nz/~hadfield/
National Institute for Water and Atmospheric Research
PO Box 14-901, Wellington, New Zealand
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: generating symmetric array from function?
Next Topic: IDL and external app in concurrent mode

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

Current Time: Fri Oct 10 02:04:54 PDT 2025

Total time taken to generate the page: 0.16530 seconds