Re: cvs: php4 / CODING_STANDARDS

From: Date: Mon, 09 Sep 2002 08:56:22 +0000
Subject: Re: cvs: php4 / CODING_STANDARDS
References: 1 2 3 4 5  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13960@lists.php.net to get a copy of this message
Quoting derick@php.net: > On Mon, 9 Sep 2002, Sterling Hughes wrote: > > > I'd rather see people use what they like -- so long as they stay > consistent > > to the coding of the style that they are currently editing. By > specializing > > to the PHP macro's you limit an extensions usage to only PHP in many ways. > > > > Sure, there is really no current basis for this - but why impose > restrictions > > on extension developers? As long as the source code stays consistent > > throughout the extension, does it _really_ matter? > > As long as it stays consisent it is no problem, but it just isn't: > > [derick@kossu fribidi]$ grep -r ZEND_FUNCTION * > php_fribidi.h:ZEND_FUNCTION(fribidi_log2vis); > [derick@kossu fribidi]$ grep -r PHP_FUNCTION * > fribidi.c:PHP_FUNCTION(fribidi_log2vis) > > > (okay, i have to admit this is the only example I found :) > So just fix fribidi then ;) actually, perhaps add a note in the CODING_STANDARDS about just keeping the style of the current extension? -Sterling > Derick > > --------------------------------------------------------------------------- > Did I help you? http://www.derickrethans.nl/link.php?url=giftlist6)KNâ] > �ýçr‹Ñ > Frequent ranting: http://www.derickrethans.nl/ > --------------------------------------------------------------------------- > PHP: Scripting the Web - derick@php.net > All your branches are belong to me! > SRM: Script Running Machine - www.vl-srm.net > --------------------------------------------------------------------------- > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/

« previous php.cvs (#13960) next »