Re: simple interface standard?
| From: | Alan Knowles | Date: | Mon, 30 Aug 2004 01:17:52 +0000 |
| Subject: | Re: simple interface standard? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33042@lists.php.net to get a copy of this message | ||
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.
Regards
Alan
Lucas Rocha wrote:
IMHO, this is better: interface Mypackage_ISomething Just the "I" prefix. It's cleaner, simpler and shorter. :-) p eace --lucasr Alan Knowles wrote:interface Mypackage_InterfaceSomethingthat should be interface Mypackage_Interface_Something{ } or, interface PEAR_InterfaceSomethingthat should be interface Mypackage_Interface_Something{ } <<END STANDARD>>