Darren New <dne### [at] sanrrcom> wrote:
> I find it mildly distracting that I can't do this:
> void xyz() { ... }
> void abc()
> {
> if (...)
> return xyz();
> else blah blah blah;
> }
What's wrong with:
void abc()
{
if (...)
xyz();
else blah blah blah;
}
(Structured programming purists would recommend doing it like that
because there's no early return.)
--
- Warp
Post a reply to this message
|