Re: Studlycaps and MySQLi
| From: | Lukas Smith | Date: | Fri, 26 Mar 2004 14:35:28 +0000 |
| Subject: | Re: Studlycaps and MySQLi | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-8772@lists.php.net to get a copy of this message | ||
Edin Kadribasic wrote:
On Friday 26 March 2004 15:27, Ilia Alshanetsky wrote:actually Ilia this argument was raised before, but as Edin points out its not at all useful in OO since you generally want to use OO to be able to extend the code. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07Not entirely true, since PHP5 has quite a bit of native OO code, it would prevent people from easily making a distinction between native and user created classes/interfaces. It is by no means a deciding problem, but yet another reason to avoid studlyCaps.So one would inherit from/extend a native class and then use studlyCaps and call underscore style methods from parent class. Can you imagine how ugly would this look?