Re: Shortening constant names

From: Date: Mon, 26 Jun 2006 21:06:50 +0000
Subject: Re: Shortening constant names
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-43126@lists.php.net to get a copy of this message
Olivier Guilyardi wrote:
Hi, In Structures_DataGrid, could we use SDG instead of DATAGRID as constant prefix?
If you do that, then how are other developers (people extending SDG or people needing to compare a return value) that need to access the constants supposed to know what they are named? I think it is better to stick with convention for the sake of clarity. Besides you have it easy. Structures_DataGrid is short compared to PEAR_PackageFileManager_GUI_Gtk :) -- Scott Mattocks Author of: Pro PHP-GTK http://www.crisscott.com

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