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 #82715 is a reply to message #82714] Mon, 14 January 2013 06:51 Go to previous messageGo to previous message
John Correira is currently offline  John Correira
Messages: 25
Registered: August 2011
Junior Member
On 01/11/2013 05:51 PM, David Fanning wrote:
>
> 7. My practice is to make positional parameters required arguments, and
> keywords parameters optional arguments. I sometimes make a positional
> parameter an optional argument, if there is a compelling reason to do
> so, but I NEVER make a keyword parameter a required argument. Seeing the
> latter in other people's code makes me crazy.

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.

Regards,

John
[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: Fri Oct 10 11:36:24 PDT 2025

Total time taken to generate the page: 0.63786 seconds