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

Home » Public Forums » archive » Re: Functions and arrays
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: Functions and arrays [message #7579 is a reply to message #7566] Thu, 05 December 1996 00:00 Go to previous messageGo to previous message
greenwoodde is currently offline  greenwoodde
Messages: 10
Registered: October 1996
Junior Member
In a previous article, William Clodius <wclodius@lanl.gov> wrote:

> Allowing '[]' to replace '()' may be a good idea, but it can provide a
> maintenance problem for old code.

Please don't underestimate the problem of maintaining old code. We have
some recent experience with this. Back in the dark ages - before IDL
even had version numbers - we wrote an external library. Then IDL 2
came along and we didn't have the time to update our library. With the
help of RSI we've now done that, but the result is that we effectively
went from IDL "v1" to v4 in one jump. Because several non-compatible
changes were introduced in the meantime we've had a number of unpleasant
surprises when people tried to dust off old code. In fact, I have to
maintain a copy of "v1" just so we can run that old code :-(

Now, personally I like the idea of replacing "()" with "[]" for arrays.
My suggestion would be to introduce "[]" as an *alternate* way of
specifying arrays. In fact, it could be documented as the *preferred*
way - to avoid the issues that started this thread.

Dave
--------------
Dave Greenwood Internet: Greenwoodde@ORNL.GOV
Oak Ridge National Lab %STD-W-DISCLAIMER, I only speak for myself
[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
Read Message
Read Message
Previous Topic: Re: exp function bug
Next Topic: Re: Q regarding spawning in windows95

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

Current Time: Fri Oct 10 15:52:14 PDT 2025

Total time taken to generate the page: 0.32379 seconds