Re: Shortening constant names

From: Date: Tue, 27 Jun 2006 07:27:29 +0000
Subject: Re: Shortening constant names
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43138@lists.php.net to get a copy of this message
On 6/27/06, Martin Jansen <mj@php.net> wrote:
I agree. Let's stick with the current naming convention. Or if you really dislike the name, then port Structures_DataGrid to PHP 5 and use (shorter) class constants. ;-)
It was meant as joke, but in what Structures_DataGrid_Some_Constant is longer than Structures_DataGrid::Some_Constant? It is even shorter :) So yes, the string is the way to go (please case insensitive :) --Pierre

« previous php.pear.dev (#43138) next »