Re: no backwards compatibility in IDL 5.6 [message #34263 is a reply to message #34262] |
Thu, 27 February 2003 07:12   |
James Kuyper
Messages: 425 Registered: March 2000
|
Senior Member |
|
|
Alexander Rauscher wrote:
>
> sorry for posting the same thing twice under different subjects, but i
> think this is important...
>
> many of idl programs have to be adapted due do the non existing
> backwards compatibility of atan (and probably many other functions) .
> one wouldn't expect a change in such a fundamental function. so now
> atan(z, /phase) gives the same result as atan(z) in older versions did,
> where z is (re,im)... this is worse than stupid. this is dangerous.
As you've described it, that doesn't qualify as an example of backwards
incompatibility. If /phase is a new option with 5.6 (and it isn't
mentioned in the online help for our 5.4 system), then there won't be
any existing code using that option. Therefore, atan(z,/phase) could
play Beethoven's 5th, and not be a violation of backwards compatibility.
What would be an example of incompatibility, is if you need to provide
the /phase option to get that behavior. Is that what you're saying? If
so, I'd agree with you that it is stupid, and dangerous.
|
|
|