[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: expressions vs. statements



Quoth Paul Prescod on Wednesday, 19 December:
:
: Because it could be that it just happened to be the last line in the
: block. It's ambiguous whether it just ended up at the end or was
: deliberately put there to trigger a return value.

In the case of "5;", it's quite clear.  It's only in the case of
a side-effecting expression that there is any ambiguity.