From: Pete Ford on
On 27/07/10 10:42, viraj wrote:
> $firstName is the most readable.. for variables.
>
> does anybody have negative thoughts on using the same naming format
> for method/function and for class names?
>
> i guess it's worth sharing! many thanks!
>
> ~viraj
>

I like to use $firstName, and function firstName(), but I would use class FirstName.

Somehow in my mind, classes are important enough to earn the initial capital letter.

--
Peter Ford, Developer phone: 01580 893333 fax: 01580 893399
Justcroft International Ltd. www.justcroft.com
Justcroft House, High Street, Staplehurst, Kent TN12 0AH United Kingdom
Registered in England and Wales: 2297906
Registered office: Stag Gates House, 63/64 The Avenue, Southampton SO17 1XS