Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60715 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24827 invoked from network); 1 Jun 2012 15:02:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2012 15:02:58 -0000 Authentication-Results: pb1.pair.com header.from=glopes@nebm.ist.utl.pt; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=glopes@nebm.ist.utl.pt; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain nebm.ist.utl.pt from 193.136.128.22 cause and error) X-PHP-List-Original-Sender: glopes@nebm.ist.utl.pt X-Host-Fingerprint: 193.136.128.22 smtp2.ist.utl.pt Linux 2.6 Received: from [193.136.128.22] ([193.136.128.22:42913] helo=smtp2.ist.utl.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B1/80-45898-1A9D8CF4 for ; Fri, 01 Jun 2012 11:02:58 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id B440E7000493; Fri, 1 Jun 2012 16:02:54 +0100 (WEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at ist.utl.pt Received: from smtp2.ist.utl.pt ([127.0.0.1]) by localhost (smtp2.ist.utl.pt [127.0.0.1]) (amavisd-new, port 10025) with LMTP id c3JcOvmKdO6e; Fri, 1 Jun 2012 16:02:54 +0100 (WEST) Received: from nebm.ist.utl.pt (unknown [IPv6:2001:690:2100:4::58:1]) by smtp2.ist.utl.pt (Postfix) with ESMTP id 740887000457; Fri, 1 Jun 2012 16:02:54 +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 1SaTNO-0001Cy-CP; Fri, 01 Jun 2012 16:02:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 01 Jun 2012 17:02:54 +0200 To: Maciek Sokolewicz , internals PHP 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: <4FC8C511.9070307@php.net> References: <4FC80163.3030500@gmail.com> <5a9e29cec281298b330aed14b41dddb9@nebm.ist.utl.pt> <272fe309cbfd77b8c2331c9268282d95@nebm.ist.utl.pt> <4FC8C511.9070307@php.net> Message-ID: <046ad7137069ac360e9c722c9588e415@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, 01 Jun 2012 15:35:13 +0200, Maciek Sokolewicz wrote: > In my personal opinion, all Intl classes should be prefixed with > Intl. It's not so much that BreakIterator is a very common name, but > rather a very ambiguous name that may point to many different things. > Just by the fact that multiple people have already posted here that > at > first they thought BreakIterator had something to do with the break > statement gives you a rather solid hint that the function of this > class is not immediately clear. Prefixing it with Intl immediately > makes it clear that it belongs to the Intl superfamily, and limits > the > potential misunderstandings a lot. I actually still don't understand > why not all Intl classes are prefixed? Isn't that the usual > procedure? > eg. for MySQLi, and pretty much all other extensions? > We've had the convention of prefixing function names with some extension prefix, but this convention has not been as marked for class names -- perhaps because there were so not many of them and so there were less collision/confusion problems. In any case, I'll rename the classes before merging. -- Gustavo Lopes