Re: Do you have some standard for defined the variable in program language?

From: Date: Tue, 27 Jul 2010 19:09:21 +0000
Subject: Re: Do you have some standard for defined the variable in program language?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-307182@lists.php.net to get a copy of this message
On 7/27/2010 12:38 PM, Andre Polykanine wrote:
Hello viraj, As for classes, it's suggested to start a class name with a capital: class MyBestClass { ... } As for functions and class methods, there are lots of people who name them like this: function the_greatest_function_in_the_world () { ... } Maybe it's readable and great, but I have a little problem: I'm using a screenreader, so the word "underscore" (and its Russian equivalent) is too long for me. So I prefer function TheGreatestFunctionInTheWorld () { ... } However, just discussed it with my wife. She prefers the same method as me, though she doesn't use any screenreading software for developing. Hello All
First thanks for all suggestions, I find some document from 2003 year and plane to use this standard everybody who what can see on next link http://www.dagbladet.no/development/phpcodingstandard/ Best Regards Jovanov Jordan

« previous php.general (#307182) next »