Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming conventions
Message
De
14/02/2007 19:06:06
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01195824
Message ID:
01195826
Vues:
13
>I've done a quick search and read many posts regarding naming conventions for variables/objects in .NET languages but still have no idea if any sort of standard convention exists.
>
>In VFP I am very happy to use Hungarian Notation. I'm just getting in VB .NET, having had to write an app to run on Windows Mobile.
>
>I'm finding it quite enjoyable actually, the only thing that bothers me is that every example I see seems to follow no naming convention at all. It's a bit of a free for all :)
>
>What conventions are being used out there (if any)?

That was my perception since I started to work in .NET. This is exactly what I said at first. I also asked the question to professionals in the business and there does not seem to be something to do about it. In most of the samples I have seen on the net, as you said, there is nothing about naming convention. Basically, I have seen variables and properties such as I, J, DataAdapter, Row and things like that. The scope and the type of the variables and properties are not defined. It makes it very difficult to isolate where that belongs to and what it is used for. Some have a naming convention and some not. For me, I kept the Hungarian Notification as was used in VFP and I am very happy to have it as is in the framework and to whatever standards I am teaching in corporate environments. I do not say it is the best but at least we know what we are talking about. Thanks to Flash Creative Management for having brought that to the VFP world. I can now use it wherever I want and feel very comfortable with that. Others might use something else, I just don't care. As long as everyone is happy with what they are using and as long as they understand what it is, then all is ok.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform