Re: Studlycaps and MySQLi

From: Date: Fri, 26 Mar 2004 15:30:33 +0000
Subject: Re: Studlycaps and MySQLi
References: 1 2 3 4 5 6 7  Groups: php.internals 
Request: Send a blank email to internals+get-8780@lists.php.net to get a copy of this message
On Fri, Mar 26, 2004 at 07:05:15AM -0800, Rasmus Lerdorf wrote: > On Fri, 26 Mar 2004, Stefan Walk wrote: > > Oh, and the strpos/str_repeat inconsistency should be 'fixed' too, maybe > > make strpos an alias to str_pos or alike... > > So you are saying strlen() should be str_len() as well? If I ever see a > patch to change that I'll hunt the person down and make them swallow an > entire K&R C book. > > -Rasmus Well, C is consistent in that it doesn't use underscores there. If no underscores at all would be used, i wouldn't complain either. But the way it is now is inconsistent... and using a different naming convention for "member functions" a.k.a. methods introduces new inconsistency. I know that it's not possible to kill all existing inconsistencies, but why introduce new ones? -- Regards, Stefan Walk <swalk@prp.physik.tu-darmstadt.de>

« previous php.internals (#8780) next »