Re: Direction for the Function Renaming Effort

From: Date: Thu, 08 Feb 2001 11:33:18 +0000
Subject: Re: Direction for the Function Renaming Effort
Groups: php.qa 
Request: Send a blank email to php-qa+get-2338@lists.php.net to get a copy of this message
Zak wrote: >Phil Driscoll tested my sanity with: >> I don't really know what I mean :) It just struck me that there could be a >> neat trick which exploits this which helps us in our quest. Caring about >the >> case of the letters increases namespace by an amount so big that it's got >to >> be of some use. I get the impression from code snippets on the list, and >> from various apps I've downloaded that just about everyone uses lower case >> throughout at the moment. This might mean that a change to uppercase or to >> initial caps, or similar might mean that a new clean scheme can be >> introduced with minimum inconvenience. > > Case sensitivity would certainly increase the available namespace.. but, > but - are you *barking* mad? :) This is a very fundamental change - > even thinking about trying to convince the core (or myself) that this is >a > good idea makes my teeny tiny brain hurt. > > however.. I suppose that this is one possible creative solution. :) Our brains must work differently. It seems entirely reasonable to me. > Here is another option. What about implementing classes in the source > that handle the naming and namespace issues? Something like: > > str::tokenize > str::split > str::join The day you force users to use classes in php is the day I get on a plane to Canada with a small army of anglo saxon thugs to explain why it's a bad idea :) Cheers -- Phil Driscoll Dial Solutions +44 (0)113 294 5112 http://www.dialsolutions.com http://www.dtonline.org

« previous php.qa (#2338) next »