|
From: Brodie T. <bro...@je...> - 2009-04-06 07:03:44
|
Hi,
I'm a long-term listener, but I have a suggestion regarding the uspoof function.
> Date: Thu, 2 Apr 2009 09:56:35 -0700
> From: Andy Heninger <and...@gm...>
> Subject: Re: [icu-design] Proposed API change to Unicode Spoof
> Detection
>
> On Thu, Apr 2, 2009 at 7:20 AM, Erik van der Poel <er...@go...> wrote:
>> You spoof are confusable UTF-8?
>>
>> I can has cheezburger?
>>
>> The English just sounds really funny.
>
> I agree that the function name reads oddly, but changing to "is" doesn't fix it.
>
> areConfusableUTF8Identifiers(s1, s2, ...) might be clearer.
Changing the the word order and adding identifiers makes it clearer:
uspoof_areIdentifiersConfusingUTF8
Or leaving behind the verb-object-adj order, use a statement.
uspoof_identifiersAreConfusingUTF8
It would usually be used in a test right?
if (uspoof_identifiersAreConfusingUTF8(s1, s2)) {
// stop
}
Regards,
Brodie
|