Juval Lowy's C# Coding Standards Questions

后端 未结 8 2101
无人共我
无人共我 2021-01-30 18:07

I enjoy and highly recommend Juval Lowy\'s - C# Coding Standard. Juval explicitly avoids rationale for each directive in order to keep the standard tight (see the preface). Howe

8条回答
  •  梦谈多话
    2021-01-30 18:39

    Regarding 1.13 (Avoid fully qualified type names. Use the "using" statement instead):

    It may be a bit more than readability. If you have too many usings at the beginning of the file, you have a class that is coupled with classes from too many namespaces.

    The class is screaming out for refactoring. Using usings instead of fully-qualified class names lets you identify such tightly-coupled classes more easily.

提交回复
热议问题