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

Home » Public Forums » archive » Happy Reasons to use IDL 8.1
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: Happy Reasons to use IDL 8.1 [message #76340 is a reply to message #76218] Wed, 25 May 2011 07:32 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
On May 25, 8:32 am, David Fanning <n...@idlcoyote.com> wrote:
> FÖLDY Lajos writes:
>> It is not an IDL 8.1 feature. I think it was present in IDL 1.0, too.
>
> Yes, I'm sure it was, too. And maybe we have just
> learned over the years to not create variables
> named, say "bytscl", but I have a feeling there
> are a lot more people than just me who have
> variables named "image", and when that causes
> your programs to not work in what appear to be
> completely arbitrary ways (the program ran
> 10 minutes ago!!), then I think it is going
> to cause deep consternation (not to say
> animosity) toward the software.

Right - this is exactly the same reason I had troubles
with a function called "limits" in solarsoft that conflicted
with similarly named variables.

When I teach a student to use IDL the first thing I tell
them is to chose 2 or 3 letter initials to represent themselves
and write *all* their programs using the naming convention
xyz_****.pro

I think it's time for ITTVIS to follow this rule by reserving
a few initial letter clusters, and use that for any future new
function, or finally bite the bullet and enforce array indexing
with square brackets - either way we can't have any more name space
pollution.

Ciao,
Paolo




>
> I'm just saying this is not the first time
> these new graphics function names have
> given me a LOT of trouble. :-(
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.idlcoyote.com/
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[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: graphics window
Next Topic: command in matlab analogous to scope_varname?

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

Current Time: Fri Nov 28 09:17:43 PST 2025

Total time taken to generate the page: 0.00918 seconds