From: Antoine Pitrou on
On Wed, 2 Jun 2010 01:49:18 -0700 (PDT)
Michele Simionato <michele.simionato(a)gmail.com> wrote:
>
> Notice that optparse is basically useless in the use case Tim is
> considering (positional arguments) since it only manages options.

By the way, could you stop naming these "optional arguments", since
positional arguments can be optional as well? It is confusing :)

Thanks

Antoine.


From: Tim Golden on
On 02/06/2010 11:42, Antoine Pitrou wrote:
> On Wed, 2 Jun 2010 01:49:18 -0700 (PDT)
> Michele Simionato<michele.simionato(a)gmail.com> wrote:
>>
>> Notice that optparse is basically useless in the use case Tim is
>> considering (positional arguments) since it only manages options.
>
> By the way, could you stop naming these "optional arguments", since
> positional arguments can be optional as well? It is confusing :)

The great thing with English is that you can use nouns as
adjectives without changing them, so you can say "option arguments"
and "position arguments" quite happily here :)

But then you run into the fact that you're having semantic arguments
about argument semantics :(

TJG
From: J. Cliff Dyer on
+1

Options are options, arguments are arguments. An optional argument is
not an option. It is an argument that can be left out.



On Wed, 2010-06-02 at 12:42 +0200, Antoine Pitrou wrote:
> On Wed, 2 Jun 2010 01:49:18 -0700 (PDT)
> Michele Simionato <michele.simionato(a)gmail.com> wrote:
> >
> > Notice that optparse is basically useless in the use case Tim is
> > considering (positional arguments) since it only manages options.
>
> By the way, could you stop naming these "optional arguments", since
> positional arguments can be optional as well? It is confusing :)
>
> Thanks
>
> Antoine.
>
>