.NET: Common Program Dictionary Dictionary
In episode # 162 from Hanselminutes, they talked about PowerShell, but more importantly, at 04:50, they mentioned that PowerShell was using something called General Technical Criteria to have a standard by which words to use when developing new modules for it ...
I cannot find any specific dictionary for recommended words via this page.
Does anyone know of a good resource for standardized keywords to use in .NET development (C # in this case)? I speak nouns and verbs .
One good point they brought up on the podcast was that you could almost always guess what is called an object and methods .
This is not to know which one to choose:
object.GetInfo();
object.FetchInfo();
object.CreateInfo();
object.RetrieveInfo();
UPDATE . I found a good start, a list of standardized verbs used in PowerShell , but they look like the standards used in the .NET Framework.
a source to share
I would look at Guides for naming :
The naming guide provides guidance on choosing appropriate identifiers for the elements that make up a library class, including assemblies, namespaces, types, members, and parameters. Choosing identifiers that follow these guidelines improves the usability of your library and encourages users that the library does not require learning a new set of conventions.
The most interesting section for you would most likely be called Type Member Names :
Method names
Give method names that are verbs or verb phrases.
Methods usually act on data, so using a verb to describe the method makes it easier for developers to figure out what the method is. When defining the action to be performed by a method, be careful to choose a name that provides clarity from a developer's perspective. Do not select a verb that describes how a method does what it does; in other words, don't use implementation details for your method name.
Besides, it really depends on you. You have a lot of freedom here, but a good rule of thumb is to mimic the naming style you find in the .NET framework to make your types and members "feel at home."
a source to share