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

Home » Public Forums » archive » Re: Discussion on global variables in IDL
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: Discussion on global variables in IDL [message #26150 is a reply to message #26018] Wed, 08 August 2001 03:55 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
"Pavel A. Romashkin" <pavel.romashkin@noaa.gov> writes:

> ...
> Common blocks are useful - there is little doubt about it. But I can see
> very, very few instances when they are the only way. And the entire idea
> of "global" variables seems to me to be resulting from the evolutionary
> approach to programming - start with command line data analyses, get
> tired of copy-paste. write code, expand it and still need to access the
> data the way you started it.

And this is exactly their weakness. I would guess that most IDL applications
are born out of ad-hoc code once written to analyse a specific situation,
and then generalized. To get rid of common blocks in this provess is much
harder than to avoid them in the first place.

Cheers,

Martin

--
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[[ Dr. Martin Schultz Max-Planck-Institut fuer Meteorologie [[
[[ Bundesstr. 55, 20146 Hamburg [[
[[ phone: +49 40 41173-308 [[
[[ fax: +49 40 41173-298 [[
[[ martin.schultz@dkrz.de [[
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[ [[[[[[[
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: testing. ignore. thank you.
Next Topic: Re: histogram question

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

Current Time: Fri Nov 28 22:49:28 PST 2025

Total time taken to generate the page: 0.96221 seconds