Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Why sometimes we use small sometimes big letters ?

Status
Not open for further replies.

ZarkoL

Programmer
Aug 2, 2006
4
0
0
MK
Why sometimes we use small sometimes big letters at the start of the method, property or field name? Isn´t there a recomendation like in Java : fields, packages and methods start with small, classes with big? What does the big/small letter in front tell me about the item?


Thanks,Zarko
 
I have always been told to differentiate fields from properties by using lower case to start a field, and upper case to start a corresponding property.

Other than that, I usually start variables either in lower case or with an underscore, but that seems to be a matter or personal preference to me.

I hope this information is helpful to you. If anyone else has other ideas, feel free to chime in...

Jason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top