cascading python executions only if return code is 0
Ned Batchelder
ned at nedbatchelder.com
Mon Dec 23 07:27:29 EST 2013
On 12/22/13 6:57 PM, Rick Johnson wrote:
> Even IF you are presented with a small snippet of code that
> include the identifier for the return value, you still
> cannot be certain that extrapolating meaning from an
> identifier*alone* will give you the insight to remove all
> ambiguity.
>
> For example, let's say the return value is "proceed" and
> attached to name spelled "flag". Do you really think you can
> extrapolate the purpose of that value being returned?
>
> "proceed" with what?
>
> Proceed counting unicorns?
> Proceed raising exceptions?
> Proceed extrapolating to infinity and beyond?!
>
> You can guess, but that is all. Which brings us full circle
> to the problem at hand.
You seem to be arguing that the original question didn't have enough
information to be usefully answered. You are doing this after the OP
got an answer he was pleased with.
Yes, the question had some ambiguity. That's why other people engaged
with him to get to a useful point. Waxing philosophically about the
impossibility of asking the question isn't helpful.
--
Ned Batchelder, http://nedbatchelder.com
More information about the Python-list
mailing list