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

Home » Public Forums » archive » Re: Programming rules
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Programming rules [message #19453] Thu, 23 March 2000 00:00
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Nicolas Decoster <Nicolas.Decoster@noveltis.fr> wrote in message
news:38DA2927.1AF88F24@noveltis.fr...
> I am new in IDL and I am looking for documentation on programming rules
> such as:
> - common code formatting (naming conventions, etc.);
> - good and wrong coding (such as the trivial "no goto" rule);
> - how to write help and documentation.
> Is there anything like that somewhere ?

Here's a list I put together for a few friends:
http://www.homestead.com/gumley/files/Recommended_Reading.ht m

For your needs, I'd recommend "Code Complete". It is not language specific,
and it has tons of excellent practical advice about code formatting and
variable naming conventions, coding practice (the goto issue is discussed in
some depth), and many other topics which are directly relevant to IDL. I
encourage IDL programmers at any level to read this book.

For a prolog template, start the IDL development environment (idlde on
UNIX), and type

.compile template

which will open an example template.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
Re: Programming rules [message #19460 is a reply to message #19453] Thu, 23 March 2000 00:00 Go to previous message
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
Nicolas Decoster, Nicolas.Decoster@noveltis.fr writes:

> I am new in IDL and I am looking for documentation on
> programming rules such as:
>
> - common code formatting (naming conventions, etc.);
> - good and wrong coding (such as the trivial "no goto" rule);
> - how to write help and documentation.
> - ...
>
> Is there anything like that somewhere ?


Mike Schienle has a nice style guide online:

http://www.ivsoftware.com/IDL_Style.html

David Fannning's example and tip routines are also pretty exemplary, so
it's worth browsing his site even if you don't need the functionality (though
sooner or later, you will):

http://www.dfanning.com



Struan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Constrained Fitting
Next Topic: Constrained Fitting

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

Current Time: Wed Oct 08 15:26:32 PDT 2025

Total time taken to generate the page: 0.00557 seconds