__call__ bad style? (was Re: Callable modules?)
Michael Hudson
mwh at python.net
Fri Jul 26 06:04:26 EDT 2002
Alex Martelli <aleax at aleax.it> writes:
> Jonathan Hogg wrote:
> ...
> >> I prefer simplicity. "Do the simplest thing that can possibly work".
> >> As you're showing, __call__ encourages tossing simplicity away.
> >
> > Hah. You've got me there :-)
> >
> > Yes, I believe in adding infrastructure that I know
> > the-day-after-tomorrow, I'll be glad I did ;-)
>
> Bingo. I had much the same approach for the first 20 years
> or so of my programming career,
Then I'm ahead of you by ... erm ... 13 years. Wow, I've been
programming (admittedly only as a hobbyist) for nearly a third of my
life. That's scary somehow.
Cheers,
M.
--
>> REVIEW OF THE YEAR, 2000 <<
It was shit. Give us another one.
-- NTK Know, 2000-12-29, http://www.ntk.net/
More information about the Python-list
mailing list