[Mono-dev] A bit of reflection?

Miguel de Icaza miguel at novell.com
Fri Feb 16 08:54:51 EST 2007


Hello,

> I have noticed that the mono class status pages are generated with data acquired
> from MS.Net framework through reflection. I am wondering if exercising the same
> method to generate stubs for missing classes would be a violation of the
> committing rules?

I do not like any sort of auto-generated code.   It leads to people not
writing tests, committing dead code, committing half-working code and
sloppy code.

You must submit your code with a test suite these days, and in fact, we
encourage everyone to write the tests *first* and only then write the
code, to avoid the Lone Ranger syndrome where we get code that is
completely untested, easily regresses and is not well understood.

We had that experience with the old Windows.Forms for example, it was a
collection of hacks upon hacks, and am not really interested in
repeating the experience.

Miguel.



More information about the Mono-devel-list mailing list