Re: Encapsulation



Jon Harrop wrote:
Arne Vajhøj wrote:
Jon Harrop wrote:
Whether I have one line or a million lines, the idea of restricting
accessibility to a single-level (the assembly) does not scale.
It scales fine.

If it scaled then I would be able to nest assemblies and mark data
as "internal" to the current or any parent assembly. But I cannot => it
does not scale.

Perhaps you mean that it is still possible to write monumental code bases in
the absence of decent encapsulation mechanisms. I cannot disagree with
that.

I assume you mean "I cannot agree" or "I disagree".

If you look out in the real world, then you will see that
somehow people are able to write software with lots
of assemblies without the ability to have a "nested
assembly" mechanism.

Arne

.



Relevant Pages

  • Re: Scale assembly
    ... The easiest way to scale all the geometry of an assembly is either to ... will have to insert a split feature and save out each body and then RMB ... Assemblies typically contain fasteners. ...
    (comp.cad.solidworks)
  • Re: ASP.NET - multiple applications sharing pages/ controls
    ... The approach that I have been using (small scale in house projects) is ... to create shared assemblies that I register in the GAC. ... In general I favor this to custom controls in many situations because I ... at times for .ascx files that I wish to reuse in other web applications. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Encapsulation
    ... That word "scale". ... Sure but you are still trying to use a flat sequence of assemblies to ... represent a hierarchy of constraints. ... still trying to write a .NET program. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: ASP.NET - multiple applications sharing pages/ controls
    ... The approach that I have been using (small scale in house projects) is ... to create shared assemblies that I register in the GAC. ... In general I favor this to custom controls in many situations because I ... at times for .ascx files that I wish to reuse in other web applications. ...
    (microsoft.public.dotnet.framework)
  • Re: Encapsulation
    ... in the absence of decent encapsulation mechanisms. ... I cannot disagree with ... Consider it roughly equivalent to "I agree with ... of assemblies without the ability to have a "nested ...
    (microsoft.public.dotnet.languages.csharp)