[Mono-list] Style

Miguel de Icaza miguel@ximian.com
01 Mar 2002 10:58:15 -0500


> I would like to suggest that the "bad" way you have here is not bad at all.
> I find the "good" way you have there to be more bug prone because when
> someone later adds code do be executed when the if is true. They may write
> it like:

I agree with the principle, but in practice, I have not run into this
kinds of bugs for a couple of years, partly because Emacs takes care of
this kind of problems. 

But the extra wasted space does look terrible, and goes against the
goals of the Linus style of `If your function does not feet in your
screen, you probably need to split it up'.

I like the K&R style of clear, concise code, and let the tools do the
work for you ;-)

Miguel