Python luddites (was Re: Type inference now simplicity)
Martijn Faassen
m.faassen at vet.uu.nl
Sat Jul 29 13:25:32 EDT 2000
Bernhard Herzog <herzog at online.de> wrote:
[snip]
> I think we can reconcile both viewpoints, namely "new operators violate
> python philosophy" vs. "new operators are useful", by introducing just
> one new operator. This new operator guesses what the progammer wanted
> and is used like this:
> A ;;>> B
> This new operator is pronounced "wink-wink-nudge-nudge" or
> "do-whaddaye-mean-do-whaddaye-mean" (although this might be a tad too
> Perlish).
I think the 'grok' statement (considered for Python 3000) is much more
Pythonic:
if cant_figure_it_out_anymore:
grok:
well fix it
else:
grok:
also make it run faster
and so on.
Regards,
Martijn
--
History of the 20th Century: WW1, WW2, WW3?
No, WWW -- Could we be going in the right direction?
More information about the Python-list
mailing list