Re: simple interface standard?

From: Date: Mon, 30 Aug 2004 13:45:08 +0000
Subject: Re: simple interface standard?
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-33061@lists.php.net to get a copy of this message
Philippe Jausions wrote:>
BTW: PEAR has strongly structured its packages while Java and other language don't have such "rigid" standard. So it's not really a good idea to go Java-style for naming the interfaces with "I/i"...
Those languages do actually have a lot of structure (arguably more) via language-level support for packages or namespaces. Seems like PHP is about the only language in its class that doesn't support namespaces. I understand why Category_MyPackage is necessary, but it doesn't make it any less pathetic. But to the point, 'I' prefix is very much an accepted standard by anyone who has encountered interfaces -- or, worst case, I guarantee that a developer won't have to spend more than a few seconds wondering what 'I' means. Don't really care, though. :) It's good there will be a standard one way or another. -Hans

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