> So I use PascalCase for classes and camelCase for ID's.

What's the benefits of using PascalCase for classes? It's not as if you
don't know which is which, "id=" and "class=" are pretty apparent.

I'd say camelCase for sure. But I have been brought up on C, C++, Java,
and I still insist on it in C#. 

- A
________________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of James Laugesen
Sent: Wednesday, 14 June 2006 3:56 p.m.
To: [email protected]

LOL hahah I stand corrected, thanks Kevin =8-)

PS For a bit of a giggle; when I first read your reply I thought "mmmm,
no no, I'm sure it's CamelCase, I'll just fire up wikipedia and chec...
oh yes, Wiki... WikiWiki... PascalCase... bugga". 
On 14/06/06, Kevin Futter <[EMAIL PROTECTED]> wrote:
On 14/6/06 1:01 PM, "James Laugesen" < [EMAIL PROTECTED]> wrote:
I use CamelCase or "propper case" for CSS classes; just a habbit
(standard?) from OO programming; where classes (should) always be named
using CamelCase. 
And I use lower-case first letter + upper case for ID's, as they are
unique for 1 HTML element only, they (IMO) represent a "variable", so
again, I follow my OO habbits (standards?) of lowerCaseFirstLetter. 
Actually, "lowerCaseFirstLetter" is camelCase (not CamelCase - ever see
a camel with a hump on its arse?). 

-- 
Kevin Futter
Webmaster, St. Bernard's College
http://www.sbc.melb.catholic.edu.au/



******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to