Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 194
  • Last Modified:

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

0
polkadot
Asked:
polkadot
1 Solution
 
Harisha M GCommented:
Hi polkadot,
    Nothing special... you can use anything.

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

Bye
---
Harish
0
 
grg99Commented:
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.

0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now