Friday with Filip – Dependency cycles & Spaghetti code

Posted by Filip Ekberg on November 2 2012 2 Comments

Welcome to this week’s Friday with Filip!

Last week I shared the first part in a very interesting session that I had the pleasure to do with Patrick over at NDepend. Having readable code and manageable solutions is very important but in some cases small changes that might see, trivial to you, might not be as trivial to someone else.

If you had to keep track of all dependencies in your head you are not going to have anything else on your mind; which is a pretty bad way to distribute your brain! Instead of keeping it all in your head, you can use a tool like NDepend to find out a lot of interesting things about your projects. If you’ve seen the previous posts and videos that I have done on NDepend, you know what kind of power this tool delivers.

The webinars that I have had the pleasure to do with Patrick has been very educating and I hope you like them as well, I would love to get some feedback!

So this week we are going to dig deeper with NDepend and spot dependencies, dependency cycles and spaghetti code! As we look on mscorlib, you can see that in some cases bi-directional dependencies are by design, but in other cases it might have been accidental. Sit back and enjoy the two parts below!

Part 2

Keeping our code base clean and understandable is important and as you might have seen now, there are tools that can help us along the way.

What are your tips on the subject?

Vote on HN

2 Responses to Friday with Filip – Dependency cycles & Spaghetti code

  1. Pingback: Dew Drop – November 5, 2012 (#1,436) | Alvin Ashcraft's Morning Dew

  2. Pingback: Dependency cycles & Spaghetti code | My Daily Feeds

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>