comp.lang.ada
 help / color / mirror / Atom feed
From: Maciej Sobczak <no.spam@no.spam.com>
Subject: Re: Return statements and their scope - guideline
Date: Thu, 15 Feb 2007 08:37:49 +0100
Date: 2007-02-15T08:37:49+01:00	[thread overview]
Message-ID: <er12kd$ek7$2@cernne03.cern.ch> (raw)
In-Reply-To: <LYGAh.1196164$084.827457@attbi_s22>

Jeffrey R. Carter wrote:

> However, I've always felt
> 
> if Some_Condition then
>    return 0;
> end if;
> 
> is easier to read

Especially taking into account that it's not structurally different from 
"exit when" in loops, which is allowed.


-- 
Maciej Sobczak : http://www.msobczak.com/
Programming    : http://www.msobczak.com/prog/



  parent reply	other threads:[~2007-02-15  7:37 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-14 16:20 Return statements and their scope - guideline Maciej Sobczak
2007-02-14 16:41 ` Jeffrey R. Carter
2007-02-14 17:31   ` Adam Beneschan
2007-02-15  7:33     ` Maciej Sobczak
2007-02-15  7:37   ` Maciej Sobczak [this message]
2007-02-14 16:46 ` Adam Beneschan
2007-02-14 20:06 ` Robert A Duff
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox