RE: [PHP-QA] Function Renaming

From: Date: Wed, 07 Feb 2001 13:27:43 +0000
Subject: RE: [PHP-QA] Function Renaming
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-2277@lists.php.net to get a copy of this message
Obvisouly a long period is needed, but if handled right I think this is the best way to go, it unclutters the namespace eventually and once depricated we can forget about thinking about which alias goes where. I can do the job, but lord knows how good it will be, my C aren't top notch but I can handle replacing vars in a file on Windows, as for *nix or anything else I have no idea if what I have (I wrote something similar a few years ago) would compile on other platforms I don't know. I can do a nice GUI for Windows if needed (VB) and put a web based version up too. All I would need is the old name and the new name and away we go. Karl -----Original Message----- From: Derick Rethans [mailto:d.rethans@jdimedia.nl] Sent: 07 February 2001 14:17 To: Karl Austin Cc: Php-Qa Mailinglist Subject: Re: [PHP-QA] Function Renaming On Wed, 7 Feb 2001, Karl Austin wrote: > Hi again, > > You already know what I think, I agree that changing core functions could be > pretty confusing and that blindly adding an underscore won't help anyone and > is only a half-way house. If it is going to be done then we should have > meaningful names that newbies (excuse the phrase) can easily pick up and > recognise what the function does. > > If the functions are to be renamed/aliased I think ALL functions should be > done to make all of them the same standard - I know this could end up > causing major headaches so I propose that we distribute a program that > people can run their files through and have the 'old' function names > replaced with the new ones. This way the 'old' names can be deprecated and > it should only effect a small number of people that haven't changed their > function names. Nice idea, I guess you just volunteerd :) But I don't think we must depreciate the old functions immediately, but have some sort of transistion phase in which the old names are slowly removed. Derick Rethans --------------------------------------------------------------------- PHP: Scripting the Web - www.php.net - derick@php.net ---------------------------------------------------------------------

« previous php.qa (#2277) next »