Skip to main content
added 265 characters in body
Source Link

So I am reading Clean Code and I want to write my class names with the proper amount of context, but how does .NET namespaces play into the concept of Meaningful Names?

Do I forego context in the class name that has been provided in the namespace?

For example, If I have the following namespaces

MySolution.Event.Registration.BeginRequest MySolution.Event.Registration.EndRequest MySolution.Event.Registration.Error 

Should I name the classes EventRegistrationBeginRequest, etc.?

So I am reading Clean Code and I want to write my class names with the proper amount of context, but how does .NET namespaces play into the concept of Meaningful Names?

Do I forego context in the class name that has been provided in the namespace?

So I am reading Clean Code and I want to write my class names with the proper amount of context, but how does .NET namespaces play into the concept of Meaningful Names?

Do I forego context in the class name that has been provided in the namespace?

For example, If I have the following namespaces

MySolution.Event.Registration.BeginRequest MySolution.Event.Registration.EndRequest MySolution.Event.Registration.Error 

Should I name the classes EventRegistrationBeginRequest, etc.?

Source Link

Providing context in Class name, even though the namespace provides context

So I am reading Clean Code and I want to write my class names with the proper amount of context, but how does .NET namespaces play into the concept of Meaningful Names?

Do I forego context in the class name that has been provided in the namespace?