On Thu, 2005-02-10 at 11:21 +0100, Andreas Schwab wrote:
Tom Schutter <tom@platte.com> writes:
In my opinion, the problem in baz() is just as bad as the problem in
foo().
Why do you think so? What can go wrong this way (apart from being
less
portable)?
Andreas.
It helps to imagine that these functions are 100 lines long instead of
1
line long.
The programmer assumes that a value is being returned by foo(), because
of the return(1). The programmer also assumes that a value is being
returned by baz(), because of the return(bar()).