scientistproject / Scientist.net

A .NET library for carefully refactoring critical paths. It's a port of GitHub's Ruby Scientist library
MIT License
1.46k stars 95 forks source link

Change root namespace Github to Scientist #82

Closed revenger73 closed 7 years ago

revenger73 commented 7 years ago

This project has nothing to do with Github itself, so root namespace Github is awkward. Using Scientist.NET in project currently requires the following using

using Github;

Change namespace to Scientist, so using in .NET requires the following more logical using statement

using Scientist;

haacked commented 7 years ago

The point of namespaces is to avoid conflicts in type names. Scientist as a namespace is too generic and could lead to conflicts with others who might have different reasons to write a Scientist library. We're not the only scientists, but we are the only GitHub (who happens to sponsor this project).

Just as an example, note that Microsoft does this with their Microsoft.Win32 namespace. It's pretty common to have the company name be the root namespace of a library to help ensure conflict avoidance.