Re: simple interface standard?
| From: | Hans Lellelid | Date: | Mon, 30 Aug 2004 04:11:57 +0000 |
| Subject: | Re: simple interface standard? | ||
| References: | 1 2 3 4 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33043@lists.php.net to get a copy of this message | ||
Alan Knowles wrote:
Quoting from the manual... "Classes should be given descriptive names. Avoid using abbreviations where possible." I think 'I' could be classed as an abreviation :) There are alot of things that are shorter/simpler, but longer clearer always helps when you share code alot.... But I think that the 'I' prefix is well known. At least as well known as the meaning of a method called 'singleton'. Thanks to C# and the other languages (?) that have made that a standard. I'm definitely +1 for 'I' prefix. Or at worst 'Iface' suffix (MyClassIface). -Hans