Thursday, April 28, 2011

Good Nickname for Namespaces

I am a programmer who is still in high-school, which means I do this as a hobby (for now...). I love using C# and one good feature of C# is namespaces. But my namespaces names all suck (it's just my name). What would be a good nickname to use for my namespaces?

P.S. One rule: DON'T USE AARDVARK (it's not my last name but it looks horrible as a namespace name)!

From stackoverflow
  • I've found that using the function for a namespace is best. The function is likely not change as much as the product name, especially at the namespace level.

    So are you writing a financial application? Then try "Financials" as a namespace.

    I've found that namespace collision is not as big of a deal as you learn initially. At the same time, I don't write a lot of 3rd party software.

  • How about InProgress, as an acknowledgment of the fact that software is never 'done' :)

  • I read this post from Brad Abrams about namespace, it's pretty informative.

    Lucas McCoy : Very good blog post by Brad. I never thought about that before!
    J.W. : yes, grab the book to read if possible, it's one of the best book to write good api, including a lot of naming wisdom. After all, you are not only interested in "namespace" :-)
  • What's wrong with your name? In Java the package names are usually the reverse domain names.

    Lucas McCoy : My real name is boring. I want something lively. Hey your the guy from that other post!

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.