J2 proposal: keyword
egbert.list at hccnet.nl
Mon Aug 23 19:56:34 CEST 2004
For me the keyword introduces an announcement about the function
to be defined next. So why not say 'announce', followed by the name
of the function about which you are anouncing something, for instance:
def bar(count, input):
return input * count
The function name after announce serves two purposes:
- it makes the program a lot more readable
- it makes it possible to put this announcement somewhere else,
not immediately before the function.
However doing this doesn't look like a good idea.
Egbert Bouwman - Keizersgracht 197 II - 1016 DS Amsterdam - 020 6257991
More information about the Python-list