naming conventions of methods and classes

Posted on 2005-03-16
Medium Priority
Last Modified: 2010-04-15
I don't quite understand why some class and method names are capitalized and some aren't, for example:

class PLANT{


void water_plant()

class growth_data{

Question by:polkadot
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 37

Accepted Solution

Harisha M G earned 500 total points
ID: 13558347
Hi polkadot,
    Nothing special... you can use anything.

But it is Microsoft's custom to take the class name as captial.

LVL 22

Expert Comment

ID: 13558687
Conventions vary, and have nothing really to do with the basic language.

Microsoft likes CAPITAL classes.

Borland puts a 'T' in front of most class names. to indicate it's a TYPE.

And of course there's always good old Hungarian Notation.  Don't get us lwpRant started.


Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
The goal of this video is to provide viewers with basic examples to understand and use pointers in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question