ardalis / CleanArchitecture

Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core
MIT License
16.23k stars 2.8k forks source link

ProjectStatus and PriorityStatus #746

Closed sdudnic closed 5 days ago

sdudnic commented 4 months ago

In the Sample project, I'd like to clarify the confusing therms of ProjectStatus and PriorityStatus of the Project class.

Both are members of a "Project", so or name it ProjectStatus and ProjectPriority, or, if both are statuses, could be CompletionStatus and PriorityStatus....

Actually having a Project member Status of "ProjectStatus" and the second Priority of "PriorityStatus" creates confusion between "Status" keyword, and is harder to read such a code.

Bellow an example where the author itself was confused, using variable testProject Status instead of testProject Priority:

image