[Python-ideas] parameter omit
Aaron Brady
castironpi at comcast.net
Fri May 11 04:35:29 CEST 2007
> -----Original Message-----
> From: Josiah Carlson [mailto:jcarlson at uci.edu]
> Sent: Thursday, May 10, 2007 9:36 PM
>
>
> "Aaron Brady" <castironpi at comcast.net> wrote:
> > Library functions have many parameters, and huge if statements are hard
> to
> > read. My solution costs only a single built-in object, not even a
> keyword
> > or syntax modification. Your solution takes a three-line function
> > definition. Compare to mine:
> >
> > def foo(arg1, argFoo=1.2325, argBree='hello'):
> > ...
> >
> > Specific and concise. Clearly better, by all measures I read.
>
> Except that it has no support from anyone with any pull. Feel free to
> wait for it, and/or keep pestering people to offer their opinions.
>
> Note that not everyone has the desire for such (arguably unnecessary)
> consistency as you seem to.
>
>
> - Josiah
Copy Houston. Have to be someone to be right. It's a good idea and I'll
wait if it suits to. I'll quote Guido in the future.
More information about the Python-ideas
mailing list