develooper Front page | perl.perl5.porters | Postings from June 2008

Re: [perl #56150] return return

Thread Previous | Thread Next
From:
Aristotle Pagaltzis
Date:
June 23, 2008 08:13
Subject:
Re: [perl #56150] return return
Message ID:
20080623151235.GF25433@klangraum.plasmasturm.org
* Mark Mielke <mark@mark.mielke.cc> [2008-06-23 16:20]:
> H.Merijn Brand wrote:
>> BTW I agree with both worlds. In some cases it should suffice
>> to use the last value, in some cases one should use return for
>> clarity
>
> Agree. I was playing devil's advocate - not intending to say
> "never ever use return!". I only challenged the claim that one
> should "always use return!". :-) It came across as dogma like
> "never use goto!". :-)

The original position was that Tels said that `return` is always
superfluous and often slower, so I quoted Abelson/Sussman at him.

I don’t know where you found any dogma about always using
`return` in my mails. My (possibly just as mistaken) impression
is that are much more dogmatic about avoiding `return` than I am
about using it.

Regards,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About