Question

I'm working on a brown-field project that was initially developed for .NET 1.1, and subsequently was retro-fitted to .NET 2.0, with a smattering of .NET 3.5

I'm curious what kind of metrics to use to begin finding optimization and modernization inflection points.

Are there any good CQL queries that anyone has found useful in cleaning up and refactoring 'legacy' .NET code?

Was it helpful?

Solution

NDepend now supports code rule over LINQ query (CQLinq) that is much more more powerful and flexible than CQL (still supported).

What really matters is what kind of refactoring make a code cleaner, according to you. Dozens of new code rules are provided but the real strength is that it has never been easier to write your own code convention and rule.

Here are 5 conventions worth to follow according to me:

I wrote more about my preferences here:

Fighting Fabricated Complexity

Top 5 development practices you should care for

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top