Click here to Skip to main content
15,064,915 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
PraiseRe: Folders and Namespaces vs Multiple Assemblies Pin
Wonde Tadesse14-Jun-16 6:19
professionalWonde Tadesse14-Jun-16 6:19 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Pete O'Hanlon14-Jun-16 6:20
mvePete O'Hanlon14-Jun-16 6:20 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Wonde Tadesse14-Jun-16 6:21
professionalWonde Tadesse14-Jun-16 6:21 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Pete O'Hanlon14-Jun-16 6:20
mvePete O'Hanlon14-Jun-16 6:20 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Stephen Gonzalez14-Jun-16 9:20
MemberStephen Gonzalez14-Jun-16 9:20 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
OriginalGriff14-Jun-16 4:32
mveOriginalGriff14-Jun-16 4:32 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
R. Giskard Reventlov14-Jun-16 4:38
MemberR. Giskard Reventlov14-Jun-16 4:38 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Ian Shlasko14-Jun-16 5:41
MemberIan Shlasko14-Jun-16 5:41 
I'm working with a suite of tools, all sharing a common framework. I tend to split things up into assemblies based on their general use... One assembly for market data interfaces, one for product valuation, one for my data access layer, etc.

The advantage is that different projects only pull in the assemblies they need, so when I'm making a change, it's easier to see the potential downstream effects. If I'm modifying my "Base" assembly (Pretty much the hub of the entire framework), I know to be a LOT more careful not to make any breaking changes. If I'm working on an assembly that's only used by one non-critical application, I can save time and play it a bit looser (RAD environment, so patches can be released in minutes instead of days).

Technically I could do the same thing with namespaces, but it's a lot easier to look at DLL references than to scan an entire project to see which namespaces it touches.

Also, as a side benefit, I make heavy use of 'internal' classes. While various parts of an assembly might interact which each other, I maintain careful control of which parts are actually public. That way I can look at each assembly as black box, and minimize the danger of breaking other parts of the system.

TL;DR;: I use assemblies as another level of encapsulation, to minimize regression issues.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Kevin Marois14-Jun-16 7:43
professionalKevin Marois14-Jun-16 7:43 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Super Lloyd14-Jun-16 12:20
MemberSuper Lloyd14-Jun-16 12:20 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Gary Wheeler14-Jun-16 7:44
MemberGary Wheeler14-Jun-16 7:44 
AnswerRe: Folders and Namespaces vs Multiple Assemblies Pin
Super Lloyd14-Jun-16 12:19
MemberSuper Lloyd14-Jun-16 12:19 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
James Curran15-Jun-16 4:09
MemberJames Curran15-Jun-16 4:09 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
patbob15-Jun-16 5:56
Memberpatbob15-Jun-16 5:56 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
#realJSOP15-Jun-16 6:29
mva#realJSOP15-Jun-16 6:29 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
decaffeinatedMonkey15-Jun-16 7:00
MemberdecaffeinatedMonkey15-Jun-16 7:00 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
bjarneds15-Jun-16 7:13
Memberbjarneds15-Jun-16 7:13 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Gerry Schmitz15-Jun-16 7:14
mveGerry Schmitz15-Jun-16 7:14 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Ken Hiatt15-Jun-16 7:53
professionalKen Hiatt15-Jun-16 7:53 
GeneralRe: Folders and Namespaces vs Multiple Assemblies Pin
Kiriander19-Jun-16 19:29
MemberKiriander19-Jun-16 19:29 
GeneralSystems Programmer's Lament Pin
Colin Mullikin14-Jun-16 2:08
professionalColin Mullikin14-Jun-16 2:08 
GeneralRe: Systems Programmer's Lament Pin
OriginalGriff14-Jun-16 4:46
mveOriginalGriff14-Jun-16 4:46 
GeneralFor those of certain age... Pin
Tim Carmichael14-Jun-16 2:07
MemberTim Carmichael14-Jun-16 2:07 
GeneralRe: For those of certain age... Pin
Ron Anders14-Jun-16 2:20
MemberRon Anders14-Jun-16 2:20 
GeneralRe: For those of certain age... Pin
LabVIEWstuff14-Jun-16 2:22
MemberLabVIEWstuff14-Jun-16 2:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.