Re: Re[2]: [PHP] Do you have some standard for defined the variable in program language?

[email protected] (Joshua Kehn)
Newsgroups php.general
Message-ID <[email protected]>
Tedd-

Java has classes listed with an Uppercase. It could be JS you're thinking of but I'm not sure. Functions (except constructors) and variables have the lowerUpperCamelCase notation.

Regards,

-Josh

On Jul 27, 2010, at 12:55 PM, tedd wrote:

> At 1:38 PM +0300 7/27/10, Andre Polykanine wrote:
>> Hello viraj,
>> 
>> As for classes, it's suggested to start a class name with a capital:
>> class MyBestClass {
>> ...
>> }
> 
> In some languages (I can't remember if it is Java, or Javascript, or both) the first letter should be lowercase, such as:
> 
> myBestClass
> 
> Cheers,
> 
> tedd
> -- 
> -------
> http://sperling.com  http://ancientstones.com  http://earthstones.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.