Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming classes
Message
De
23/10/2013 03:01:48
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579528
Message ID:
01586199
Vues:
70
>Hi everybody,
>
>I am wondering what principles do you use when naming classes (and their methods / properties)? Do you know a good article on this topic?
>
>Say, right now I am thinking of how to name a class. My colleague suggested to use 'CurrentCallObject' for the class name, but I am not sure I like it. On the other hand, I don't have a better idea.
>
>This class is going to be instantiated on each invoke call (this call comes from C++ application) and will hold attributes related to the call.
>
>Thanks in advance.

Watch this - you'll never wonder again because you'll know

Clean Code: Writing Code for Humans
http://pluralsight.com/training/courses/TableOfContents?courseName=writing-clean-code-humans&highlight=cory-house_writing-clean-code-humans-m3-naming*1!cory-house_writing-clean-code-humans-m8-demo*7#writing-clean-code-humans-m3-naming

It's a 3 hr course - have only watched 30 min or so. I then started changing some names of methods/variables, etc. I bet you willl as well
I
Gregory
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform