<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Well, since adding new keywords or operators is very sensitive, and the
existing ones are rather exhausted, it won't be handy to propose a new
syntax...<br>
<br>
One last idea I might have : what about something like <br>
<br>
<b>    def myfunc(a, b, c = yield []):<br>
              pass</b><br>
<br>
I'm not expert in english, but I'd say the following "equivalents" of
yield (dixit WordWeb) are in a rather good semantic area :<br>
*Be the cause or source of<br>
*Give or supply<br>
*Cause to happen or be responsible for<br>
*Bring in<br>
<br>
Of course the behaviour of this yield is not so close from the one we
know, but there is no interpretation conflict for the parser, and we
might quickly get used to it :<br>
* yield in default argument => reevaluate the expression each time<br>
* yield in function body => return value and prepare to receive one <br>
<br>
How do you people feel about this ?<br>
Regards, <br>
Pascal<br>
<br>
PS : I've heard some month ago someone who compared the new high level
languages as new religions - with the appearance of notions like
"py-evangelistes" and stuffs - whereas it had (in his opinion) never
been so for older languages :p<br>
That's imo somehow true (and that's rather a good sign for those
languages) ; I feel phrases like "pythonic" or perl's "TIMTOWTDI" have
gained some kind of sacred aura ^^<span class="std nobr"></span>
</body>
</html>