c# - Is it a good practice to have a package/namespace and class within with the same name? -


i creating new namespace , apt name 1 of class seems same name namespace. practice? if not, alternative?

for example:

com.person |--- person.(java/cs) |--- persondetailchecker.(java/cs) |--- personnamegenerator.(java/cs) 

related questions discussing same issue:

i try avoid that, since can make code harder read eric lippert has written article this, can find here:

i've made mistake myself few times, , made harder read of code.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -