Refactoring namespaces

What about refactoring namespaces ?

MyCompany.BusinessEntities.MyBusinessEntity be = new MyCompany.BusinessEntities.MyBusinessEntity();

When one has a fully qualified class name, one might like to refactor to
using BE = MyCompany.BusinessEntities;

BE.MyBusinessEntity be = new BE.MyBusinessEntity();

This improves reading code when one has the same name of objects representing
the same thing in various namespaces, such as BusinessEntities, BusinessComponents,
DataAccess, Facades, ...

Would this be a good idea? I could use it ;)


1 comment
Comment actions Permalink


We appreciate your feedback.

The corresponding JIRA request has been created, and you are welcome to monitor
its status at

Best regards,
- Development Team.


Please sign in to leave a comment.