Re: Do we have PHP coding standard pratices?

From: Date: Mon, 24 Jul 2000 07:22:59 +0000
Subject: Re: Do we have PHP coding standard pratices?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-7835@lists.php.net to get a copy of this message
The PEAR coding rules are great but I find that myVeryFineMethod() is less readable than my_very_fine_method(). Personally, I'm using : class My_Class { var $my_var; // As my Variable function My_Class() { // As a constructor } function my_method() [ // As my Method } } I don't see any use of distinguishing between methods names and functions names. Constants are ALL_IN_CAPS and that's it. vincent@aib.net wrote: > > Hi Robert, > > Thanks! This article is a good reference for us! > We'll have a look on the PEAR project and the Java Doc spec. > > By the way the PEAR project is really interesting...! > > Thanks, > Vincent > > "Robert V. Zwink" wrote: > > > > PHP Extension and Add-on Repository (PEAR) > > Sean Cazzell > > > > There is an interesting article on phpbuilder about standard programming > > practices. > > http://www.phpbuilder.com/columns/sean20000712.php3 > > > > Robert V. Zwink > > http://zwink.levitate.org > > "If there's ever a problem, I film it and it's no longer a problem. > > It's a > > film." - Andy Warhol > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#7835) next »