Re: Comment on Doc - function/method names
| From: | Ulf Wendel | Date: | Wed, 01 Mar 2000 15:55:05 +0000 |
| Subject: | Re: Comment on Doc - function/method names | ||
| References: | 1 2 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-57@lists.php.net to get a copy of this message | ||
"Stig S. Bakken" wrote:
>
> Ulf Wendel wrote:
> > I like the idea that methodnames must not contain underscores. I
> > do not like the idea that (user-) functions should be named with
> > underscores. These names should be reserved for php functions.
>
> Not much left for user functions then? :-) Maybe we should just drop
> the function naming convention completely.
I don't think so. All I want is to shift the distinction beetween
user functions (underscore) and user methods (no underscore) to
user side (no underscore) and php side stuff (underscore).
> > How about taking the java coding conventions but modify
> > (simplify) it for the needs of php?
>
> Is it written out full somewhere? URL?
I forgot...
http://java.sun.com/docs/codeconv/index.html,
with special focus
on
http://java.sun.com/docs/codeconv/html/CodeConventions.doc8.html#367
Ulf
--
Ulf Wendel
NetUSE Kommunikationstechnologie GmbH
Siemenswall, D-24107 Kiel, Germany
Fon: +49 431 386435 00 -- Fax: +49 431 386435 99