3
shouts

One Public Type Per File

posted by KodefuGuruKodefuGuru 261 days, 2 hours, 11 minutes ago
Tuesday, June 30, 2009 9:57:40 PM GMT

I remember when I started working on this particular project a few months ago. When I looked over the code for the first time, I noticed something funny about the cs files. Each cs file contained multiple public types. In the extreme cases, there were dozens of public classes in one file. I brought it up with my new teammates, and one person claimed that he liked to keep related classes in a single file. I mentioned that I find it more difficult to find what I’m looking for in the solution tree, but he ...

category: Foundation | clicked: 1 | | source: www.kodefuguru.com | show counter code
tags: C#, Design

No comments yet, be the first one to post comment.

To post your comment please login or signup