What happened this type of naming convention?

Posted by Smith on Programmers See other posts from Programmers or by Smith
Published on 2011-11-16T22:14:48Z Indexed on 2011/11/17 2:03 UTC
Read the original article Hit count: 299

Filed under:
|
|

I have read so many docs about naming conventions, most recommending both Pascal and Camel naming conventions. Well, I agree to this, its ok. This might not be pleasing to some, but I am just trying to get you opinion why you name you objects and classes in a certain way.

What happened to this type of naming conventions, or why are they bad?

I want to name a struct, and i prefix it with struct. My reason, so that in IntelliSense, I see all the struct in one place, and anywhere I see the struct prefix, I know it's a struct:

structPerson
structPosition

anothe example is the enum, although I may not prefix it with "enum", but maybe with "enm":

enmFruits
enmSex

again my reason is so that in IntelliSense, I see all my enums in one place.

Because, .NET has so many built in data structures, I think this helps me do less searching. Please I used .NET in this example, but I welcome language agnostic answers.

© Programmers or respective owner

Related posts about naming

Related posts about hungarian