Re: Shortening constant names

From: Date: Tue, 27 Jun 2006 04:28:43 +0000
Subject: Re: Shortening constant names
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43133@lists.php.net to get a copy of this message
On 6/26/06, Olivier Guilyardi <ojaiml@nerim.net> wrote:
Hi, In Structures_DataGrid, could we use SDG instead of DATAGRID as constant prefix?
I think you should just get rid of them, as I've mentioned previously. Why have constants set up for the data sources and renderers when you could just type the class name instead? It also makes no sense to have constants defined for packages you have to install seperately. -- Justin Patrin

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