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

Re: [perl #56150] return return

Thread Previous | Thread Next
Aristotle Pagaltzis
June 23, 2008 08:13
Re: [perl #56150] return return
Message ID:
* Mark Mielke <> [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.

Aristotle Pagaltzis // <>

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About