Dana Robinson wrote:
>
> Have the functions take large numbers of parameters.
>
> or
>
> Create an options class to pass the options around.
>
>
Pythonically, I heard the distinct scream of DICTIONAR in my head.
Hugo
___
Tutor maillist - Tut
On Wed, 2006-04-05 at 12:34 +0100, Alan Gauld wrote:
> > Suppose you have a situation where you have a large number of command-line
> > options that you will parse with getopt. You want to keep track of these
> > as you move around in the code and do various things.
> >
> > Is it more Pythonic to:
> Suppose you have a situation where you have a large number of command-line
> options that you will parse with getopt. You want to keep track of these
> as you move around in the code and do various things.
>
> Is it more Pythonic to:
>
> Have the functions take large numbers of parameters.
>
> C
Dana Robinson wrote:
> Hello,
>
> Suppose you have a situation where you have a large number of command-line
> options that you will parse with getopt. You want to keep track of these
> as you move around in the code and do various things.
>
> Is it more Pythonic to:
>
> Have the functions take la