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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux