This approach has been tried in the past - but it did not work out and
the rule was eventually removed (the only case). The idea is sound but
it does not mix well with real-life, mostly because:
a. Few people have the time to use tools like Gendarme;
b. Fewer have the time to fix (most of) the defects found;
c. Very few have the time to start instrumenting their code;
d. Even fewer will invest it into application-specific (Gendarme) changes.
Basically (100-a-b-c-d) == 0, not that 'd' is without value - it just
gets multiplied by (near) 0 users.
Now, like I said earlier, the idea is sound and _maybe_ we can try
something like this. However I think it would be best to expand the
potential user base, e.g. by removing 'd'.
Specifically I think the old (removed) rule about (missing) null
checks could be resurrected while using a (subset) of the code
contracts. That could encourage people using code contracts to try
Gendarme (and Gendarme users to try code contracts). In both case half
the investment is already made (and the second half opens much more
future options).
Sebastien
> --
> You received this message because you are subscribed to the Google Groups "Gendarme" group.
> To post to this group, send email to gend...@googlegroups.com.
> To unsubscribe from this group, send email to gendarme+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/gendarme?hl=en.
>