develooper Front page | perl.perl6.language | Postings from December 2004

Re: pull & put (Was: Angle quotes and pointy brackets)

Thread Previous | Thread Next
From:
Austin Hastings
Date:
December 6, 2004 07:45
Subject:
Re: pull & put (Was: Angle quotes and pointy brackets)
Message ID:
41B47E92.7050708@Yahoo.com
Smylers wrote:

>Larry Wall writes:
>
>  
>
>>But then are we willing to rename shift/unshift to pull/put?
>>    
>>
>
>Yes.  C<unshift> is a terrible name; when teaching Perl I feel
>embarrassed on introducing it.
>  
>
No!

But I'd be willing to rename them to get/put.

'Pull' is the opposite of 'push', but 'pop' already works.

>Given the nature of many of the other changes in Perl 6, completely
>changing regexps for example, renaming a couple of functions seems
>minor.
>  
>
Agreed.

>Smylers
>
>  
>
=Austin


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