Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60709 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86085 invoked from network); 1 Jun 2012 11:34:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2012 11:34:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.21 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.21 smtp1.ist.utl.pt Linux 2.6 Received: from [193.136.128.21] ([193.136.128.21:48810] helo=smtp1.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/98-45898-BD8A8CF4 for ; Fri, 01 Jun 2012 07:34:52 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id 229757000452 for ; Fri, 1 Jun 2012 12:34:48 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp1.ist.utl.pt ([127.0.0.1]) by localhost (smtp1.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id VuHbDv4tnBj4 for ; Fri, 1 Jun 2012 12:34:47 +0100 (WEST) Received: from nebm.ist.utl.pt (unknown [IPv6:2001:690:2100:4::58:1]) by smtp1.ist.utl.pt (Postfix) with ESMTP id D0D4F700043B for ; Fri, 1 Jun 2012 12:34:47 +0100 (WEST) Received: from localhost ([127.0.0.1] helo=nebm.ist.utl.pt) by nebm.ist.utl.pt with esmtp (Exim 4.72) (envelope-from ) id 1SaQ7z-0007dc-LQ for internals@lists.php.net; Fri, 01 Jun 2012 12:34:47 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 01 Jun 2012 13:34:47 +0200 To: Organization: =?UTF-8?Q?N=C3=BAcleo_de_Engenharia_Biom=C3=A9dica_do_Insti?= =?UTF-8?Q?tuto_Superior_T=C3=A9cnico?= In-Reply-To: References: <4FC80163.3030500@gmail.com> <5a9e29cec281298b330aed14b41dddb9@nebm.ist.utl.pt> Message-ID: <272fe309cbfd77b8c2331c9268282d95@nebm.ist.utl.pt> X-Sender: glopes@nebm.ist.utl.pt User-Agent: RoundCube Webmail/0.5.3 Subject: Re: [PHP-DEV] BreakIterator From: glopes@nebm.ist.utl.pt (Gustavo Lopes) On Fri, 1 Jun 2012 12:58:37 +0200, Pierre Joye wrote: > On Fri, Jun 1, 2012 at 10:02 AM, Benjamin Eberlei > wrote: >> How about IntlBreakIterator? I agree with David that the naming is >> very >> weird, it doesn't hint at something from Intl but another crazy spl >> iterator :-) Asides from date related classes -- which could be confused with stuff from ext/date or even ext/calendar --, no other classes have Intl in their name. Does SpoofChecker hint at something from intl? ResourceBundle? ICU is a rather large library, and while internationalization is a common theme, the APIs have diverse functionality and therefore diverse names. Plus, SPL does not have a monopoly on the *Iterator names. > I agree too. BreakIterator is a very common name and I suspect > possible naming conflicts may happen. > So would you have RuleBasedBreakIterator renamed IntlRuleBasedBreakIterator too?... I find it very hard to believe that "BreakIterator" is "a very common name", but I'm open to evidence that points otherwise. This argument could maybe be made for 'Transliterator', which was added in 5.4. -- Gustavo Lopes