Re: simple interface standard?

From: Date: Mon, 30 Aug 2004 10:29:59 +0000
Subject: Re: simple interface standard?
References: 1 2 3 4 5  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33052@lists.php.net to get a copy of this message
Zitat von Hans Lellelid <hans@velum.net>:
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).
I'm also for "I", this is already something like a standard naming convention for a lot of languages that know interfaces. Jan. -- Do you need professional PHP or Horde consulting? http://horde.org/consulting/

« previous php.pear.dev (#33052) next »