473,398 Members | 2,088 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Organisation of namespaces by project

If you have the namespaces

foo.bar.x
foo.bar.y
foo.bar.z

You could put these all in one project called foo.bar or you could
create a project for each. I've just realised that I have quite a few
project files in my solution and I was wondering if this is normal?
Especially since they're all under the same common namespace. A
re-jigging may be in order?
Jun 19 '06 #1
2 1101
Personally, I like to keep them in separate projects. It's really a
subjective issue though. Sometimes, if you have a good number of
namespaces, but not a good number of classes in each, then one assembly
would be enough.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Mr Flibble" <mr********@flibbyly.wobbly.n.et> wrote in message
news:e7**********@custnews.inweb.co.uk...
If you have the namespaces

foo.bar.x
foo.bar.y
foo.bar.z

You could put these all in one project called foo.bar or you could
create a project for each. I've just realised that I have quite a few
project files in my solution and I was wondering if this is normal?
Especially since they're all under the same common namespace. A
re-jigging may be in order?

Jun 19 '06 #2
For an example like this, I would probably have them all in one project; if
there were more namespaces inside those namespaces, I would probably keep
them as separate projects. Personally, I prefer lots of smaller projects
rather than one big project.

But (and there' always a but), this is just personal preference. There are
advantages to both larger projects and smaller projects (larger projects are
usually easier to manage as you don't have t go searching for a component
that is missing; smaller projects are usually easier to pick up and use
elsewhere). However, the advantages of either are very small. Do whatever
feels right to you.
--
Jeffrey Hornby
Hornby Consulting, Inc.

"Mr Flibble" wrote:
If you have the namespaces

foo.bar.x
foo.bar.y
foo.bar.z

You could put these all in one project called foo.bar or you could
create a project for each. I've just realised that I have quite a few
project files in my solution and I was wondering if this is normal?
Especially since they're all under the same common namespace. A
re-jigging may be in order?

Jun 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Alain FONTAINE | last post by:
I am searching a kind of software engineering document about PHP. This document should give advices about PHP project organisation (structure of files, directories, names). Shall I organize...
3
by: Jim Heavey | last post by:
Trying to get the hang of Namespaces. I have primarly developed in VB and am transitioning to C# and the .Net Environment. I have worked a bit with Java as well in school about a year or so ago....
9
by: Patty O'Dors | last post by:
Hi Can somebody please tell me what namespaces are actually for? I notice that when I start a new project in C#, it puts everything in a namespace of the same name as the project. I found them...
11
by: Random | last post by:
I'm confused about the proper use and usefulness of namespaces. I beleive I understand the purpose is so the developer can put classes within namespaces to essentially organize your code. And I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.