Link to home
Start Free TrialLog in
Avatar of polkadot
polkadot

asked on

naming conventions of methods and classes

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{
...
}

ASKER CERTIFIED SOLUTION
Avatar of Harisha M G
Harisha M G
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of grg99
grg99

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.