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

Re: [perl #56150] return return

Thread Previous | Thread Next
From:
Mark Mielke
Date:
June 23, 2008 13:36
Subject:
Re: [perl #56150] return return
Message ID:
48600953.6030804@mark.mielke.cc
Aristotle Pagaltzis wrote:
> * Mark Mielke <mark@mark.mielke.cc> [2008-06-23 19:45]:
>   
>> I prefer the one subroutine, one return as a good policy
>>     
>
> Aha, that’s why you’re so adamant about this issue. Personally,
> I cut my programming teeth on Pascal, and that put me through
> enough single-exit control flow gymnastics to last me a lifetime.
>
> Guard clauses for me, thanks.
>   

Lucky you. :-)

Cheers,
mark

-- 
Mark Mielke <mark@mielke.cc>


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