Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Most Common IDL...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 50 Topic 5622 of 6400
Post > Topic >>

Most Common IDL Programming Errors

by David Fanning <news@[EMAIL PROTECTED] > Apr 8, 2008 at 06:13 PM

Folks,

I realize you don't much like to play games (I'm thinking
back to the "Yo mama's so ..." thread), but you have no 
idea how hard it is to come up with new topics for my IDL 
Tips page every week. (Especially so because I try to 
understand what I write and make available, which
pretty much rules out 4/5 of what I read on this newsgroup.)

Anyway, I was sitting here wondering why we don't have any
beer in the house again, and it occurred to me that I should
have a page listing the 10 or 15 most common IDL programming
errors with their solutions. But I can only think of three.

Here are the three errors I most commonly see in IDL programs. 

1. IDL programs are named incorrectly. The last program 
   module in the file should have the same name as the file.
   Utility modules in the file should start with the name
   of the "command" (or last) module to make clear their
   purpose.

2. KEYWORD_SET is used to check whether a keyword is
   "used" or "defined". This function should only be
   used with binary keywords. (I plan to avoid all
   nuance with this list, and just go with black and 
   white pronouncements.)

3. People draw graphics willy-nilly in widget programs
   without having the faintest idea which window their
   graphics might show up in.

What would be on your list? Of course, typos are assumed. :-)

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Se****e ma de ni thui. ("Perhaps thou speakest truth.")
 




 50 Posts in Topic:
Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-08 18:13:17 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-08 17:27:28 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-08 17:40:01 
Re: Most Common IDL Programming Errors
Michael Galloy <mgallo  2008-04-08 18:35:53 
Re: Most Common IDL Programming Errors
"Peter Mason" &  2008-04-09 01:31:05 
Re: Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-08 20:27:18 
Re: Most Common IDL Programming Errors
"Kenneth P. Bowman&q  2008-04-08 21:48:44 
Re: Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-09 07:12:36 
Re: Most Common IDL Programming Errors
"Kenneth P. Bowman&q  2008-04-09 11:31:15 
Re: Most Common IDL Programming Errors
Spon <christoph.blau@[  2008-04-09 00:06:38 
Re: Most Common IDL Programming Errors
liamgumley@[EMAIL PROTECT  2008-04-09 07:07:15 
Re: Most Common IDL Programming Errors
David Klassen <klassen  2008-04-09 11:05:33 
Re: Most Common IDL Programming Errors
Ed Hyer <ejhyer@[EMAIL  2008-04-09 11:34:27 
Re: Most Common IDL Programming Errors
Carsten Lechte <chl@[E  2008-04-10 11:22:07 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-10 07:31:58 
Re: Most Common IDL Programming Errors
Andrew Cool <andrew.co  2008-04-08 19:06:32 
Re: Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-08 20:27:18 
Re: Most Common IDL Programming Errors
Andrew Cool <andrew.co  2008-04-09 19:56:51 
Re: Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-09 23:29:27 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-10 07:29:06 
Re: Most Common IDL Programming Errors
Maarten <maarten.sneep  2008-04-09 01:01:20 
Re: Most Common IDL Programming Errors
"Kenneth P. Bowman&q  2008-04-08 21:54:26 
Re: Most Common IDL Programming Errors
"ben.bighair" &  2008-04-09 07:22:17 
Re: Most Common IDL Programming Errors
rigby@[EMAIL PROTECTED]   2008-04-09 08:26:08 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-09 09:39:55 
Re: Most Common IDL Programming Errors
"brodzik@[EMAIL PROT  2008-04-09 10:11:40 
Re: Most Common IDL Programming Errors
Ben <bjelley@[EMAIL PR  2008-04-09 11:05:54 
Re: Most Common IDL Programming Errors
David Klassen <klassen  2008-04-09 11:10:05 
Re: Most Common IDL Programming Errors
Doug <doug.lindholm@[E  2008-04-09 14:33:12 
Re: Most Common IDL Programming Errors
Maarten <maarten.sneep  2008-04-10 04:35:43 
Re: Most Common IDL Programming Errors
Tom McGlynn <tam@[EMAI  2008-04-09 19:18:16 
Re: Most Common IDL Programming Errors
Erik <janssen.e@[EMAIL  2008-04-10 02:29:27 
Re: Most Common IDL Programming Errors
Tom McGlynn <tam@[EMAI  2008-04-11 05:55:06 
Re: Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-11 06:58:25 
Re: Most Common IDL Programming Errors
"R.G. Stockwell"  2008-04-11 10:02:54 
Re: Most Common IDL Programming Errors
savoie@[EMAIL PROTECTED]   2008-04-11 10:30:02 
Re: Most Common IDL Programming Errors
"R.G. Stockwell"  2008-04-11 11:41:25 
Re: Most Common IDL Programming Errors
"Kenneth P. Bowman&q  2008-04-11 13:37:51 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-11 10:54:02 
Re: Most Common IDL Programming Errors
"R.G. Stockwell"  2008-04-11 14:52:56 
Re: Most Common IDL Programming Errors
Vince Hradil <hradilv@  2008-04-11 14:23:19 
Re: Most Common IDL Programming Errors
David Fanning <news@[E  2008-04-12 12:59:50 
Re: Most Common IDL Programming Errors
Gaurav <selfishgaurav@  2008-04-10 00:01:52 
Re: Most Common IDL Programming Errors
izimine@[EMAIL PROTECTED]  2008-04-10 01:51:01 
Re: Most Common IDL Programming Errors
mmiller3@[EMAIL PROTECTED  2008-04-10 09:22:03 
Re: Most Common IDL Programming Errors
mmiller3@[EMAIL PROTECTED  2008-04-10 09:23:25 
Re: Most Common IDL Programming Errors
"R.G. Stockwell"  2008-04-10 12:16:11 
Re: Most Common IDL Programming Errors
Reimar Bauer <R.Bauer@  2008-04-13 19:28:34 
Re: Most Common IDL Programming Errors
pgrigis@[EMAIL PROTECTED]  2008-04-16 14:39:32 
Re: Most Common IDL Programming Errors
rlayberry@[EMAIL PROTECTE  2008-04-17 08:52:25 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Nov 19 10:05:55 CST 2008.