develooper Front page | perl.perl5.porters | Postings from February 2017

Re: Proposal: Rename utf8::is_utf8() to utf8::is_upgraded()

Thread Previous | Thread Next
From:
Karl Williamson
Date:
February 21, 2017 03:02
Subject:
Re: Proposal: Rename utf8::is_utf8() to utf8::is_upgraded()
Message ID:
d13a64c9-c27b-161c-7222-a297acd3ed71@khwilliamson.com
On 02/20/2017 05:07 PM, Zefram wrote:
> Kent Fredric wrote:
>> Though that said, I think we can find a clearer name than "is_upgraded"
>
> I think that's the best possible name.  The "upgraded"/"downgraded"
> terminology for describing the flag state is the only one we have that
> doesn't give a misleading impression of its significance.  Hence my use
> of that terminology in Scalar::String.
>
> -zefram
>

The problem for me is that 'upgraded' is overloaded.  sv_upgrade() 
'upgrades' but has nothing to do with this really.  I have found this 
confusing

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