develooper Front page | perl.perl6.language | Postings from February 2001

Re: assign to magic name-of-function variable instead of "return"

Thread Previous | Thread Next
From:
James Mastros
Date:
February 5, 2001 16:00
Subject:
Re: assign to magic name-of-function variable instead of "return"
Message ID:
20010205190003.A1630@lilith.belledonna.mine.nu
On Mon, Feb 05, 2001 at 08:43:02PM +0100, abigail@foad.org wrote:
> On Mon, Feb 05, 2001 at 11:46:48AM -0500, James Mastros wrote:
> > By the time you get to the last line, you've already forgoten WTF you named
> > the return variable.
> Eh, I don't think that bad memory, or a bad variable naming scheme
> justifies this new feature.
A new feature doesn't need that much justification.  And nobody is
advocating getting rid of "return".

> If you forget how you name your variables you have much bigger problems
> than to have to type 'return'.
Yes, but I have meds for those.

Umm, Abigal, please try to keep it qw(helpful informative
inventive)[rand(3)] rather then qw(rude condisending insulting)[rand(3)].

This helps Lazyness, and self-impatance.  And I'm having Huburis.

-- 
"My country 'tis of thee, of y'all i'm rappin'!  Lan where my brothers
fought, land where our King was shot -- from every building top, let freedom
happen!"
	-=- Monique, Sinfest[.net]
AIM: theorbtwo 	     homepage: http://www.rtweb.net/theorb/

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