-
Archives
- May 2013
- February 2013
- October 2012
- August 2012
- June 2012
- May 2012
- March 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- June 2011
- May 2011
- March 2011
- February 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
Category Archives: Dependencies
Two Screencasts on How to Demystify Spaghetti Code
In my consultant career, no matter the kind of company I visited, from the tiny startup to the largest fortune 500 corporation, they all have in common to be entangled in spaghetti. Spaghetti means poorly structured code. Spaghetti means high maintenance and … Continue reading
The beauty of Evolutionary Design and Levelization
Just a quick blog post to present a very concrete occurrence of Evolutionary Design + Levelization in action. I just stumbled on this occurrence after many days of large-scale refactoring. It was like the ice on the cake that concludes … Continue reading
Castle Project code organization
This morning I stumbled on a blog post from Krzysztof Kozmic .NET OSS Dependency Hell. The title caught me straight: dependency + .NET is pretty dear to me. Krzysztof explains a problem users of Castle Project have (hence a problem … Continue reading
Also posted in .NET assemblies, Castle Project, code organization, Dependency Matrix, Graph of Dependencies
3 Comments
Hierarchical Namespace Component
Modeling components of a code base with namespaces is a much better idea than modeling them with assemblies. I wrote about the namespaces vs. assemblies debate in the past (Control components dependencies to gain clear architecture). The fact is that … Continue reading
Also posted in Dependency Cycle, Flat view, Hierarchical components, Tree view
8 Comments
Identify Code Structure Patterns at a Glance
Normal 0 21 false false false FR X-NONE X-NONE I think that caring for dependencies is the best thing you can do to make your program maintainable and to fight against complexity. I’d like here to provide some tips to … Continue reading
Also posted in Acyclic componentization, complexity, coupling, Cycle, DSM, high cohesion, Indirect Dependency, Layer, matrix, Patterns
4 Comments
Evolutionary Design and Acyclic componentization
In my previous post on Re-factoring, Re-Structuring and the cost of Levelizing, I explained that increasing the value of the structure of a code base is less costly than expected. The point is to focus a while on Re-Structuring without changing any … Continue reading
Also posted in Acyclic componentization, Dependency Cycle, Hierarchical components, NDepend
Leave a comment
Understanding Code: Static vs Dynamic Dependencies
There have been some NDepend users’ requests to make the tool able to cop with dynamically fabricated dependency/IoC framework such as Spring.NET. The idea is to read configuration files to artificially inject these dependencies into the code model fabricated by NDepend. As every relevant … Continue reading
Also posted in Code Dependency, code organization, code structure, coupling
2 Comments
Advices on partitioning code through .NET assemblies
The tenet is: reduce the number of your .NET assemblies to the strict minimum. Having a single assembly is the ideal number. This is for example the case for Reflector or NHibernate that both come as a single assembly. A lot have been … Continue reading
Also posted in .NET assemblies, Acyclic componentization, Deployment, Visual Studio, VS, VStudio
13 Comments
Finding Assembly-level Dependencies With R#
Here’s a little nuance to ReSharper that I really like and use quite a lot. Find a reference under the “References” node of any Visual Studio project. Pick a referenced assembly, right click, and select “Find Dependent Code.” This will bring … Continue reading
Also posted in Lines of Code, LoC
10 Comments