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

Home » Public Forums » archive » Re: Error Handling Advice
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 Advice [message #82714 is a reply to message #82713] Mon, 14 January 2013 07:05 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
John Correira writes:

> Is there a technical reason behind not making a keyword a required
> argument, or just a personal preference based on experience? I find it
> harder to interpret a long series of positional parameters as opposed to
> a list of somewhat descriptive keywords.

It is not a technical reason so much as a visceral response. :-)

I suppose I write programs differently than most people, but I've never
had a need to define more than three required arguments in a program
EVER, as far as I can recall. I'm sure there is a reason for the 10-12 I
sometimes see in programs I haven't written, but I can't imagine what
that reason is. People who come to me with those kinds of programs are
always confused. I just assumed that was one of the reasons why. ;-)

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using function after .reset
Next Topic: Transparent and Overplotted Images with cgImage

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

Current Time: Sat Oct 11 08:17:25 PDT 2025

Total time taken to generate the page: 0.96214 seconds