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

Home » Public Forums » archive » Error Handling Change in IDL 8
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: Error Handling Change in IDL 8 [message #73002 is a reply to message #72910] Tue, 19 October 2010 11:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Paul van Delst writes:

> I'm sorry.... "one-offs"? I associate that term with throwaway code.
So, two things immediately spring to mind:
> 1) does anyone really write "one-offs" anymore? :o)
> 2) If they truly are "one-offs", what the hell are you doing worrying about error handling? Just use
> ON_ERROR, 0 !!

Well, because of how much pressure I was feeling to
produce a result TODAY, I sometimes wrote what I thought
were one-offs. After that bit me in the rear about
a dozen times, I didn't care HOW LONG it took to write
the code, it would be reusable. I got a reputation as
a slow programmer (at least the first time they wanted
something done). After that, I was MUCH faster.
Reminds me a bit of IDL, in that respect. :-)

I guess what I really mean is "casual code", code
that is not really meant to be Library code, but
code that is useful to me, nonetheless. Maybe it's
code where I am exploring some kind of idea or
approach to the problem. I'm not really interested
in typing Catch paragraphs, but I do what to get
meaningful error messages.

> But, regardless, I will ask my colleague if he has his perl script
> lying around (since I can't find it in our svn repo).

Appreciate it!

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL runtime
Next Topic: IDL 8.0 garbage collector issue.

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

Current Time: Fri Oct 10 14:08:00 PDT 2025

Total time taken to generate the page: 2.64034 seconds