[Mono-devel-list] [PATCH] System.Web.Service protocols

Kornél Pál kornelpal at hotmail.com
Mon Jun 6 06:08:40 EDT 2005


> Feel free to commit. However, please split that 5 line "if" to make
> easier to understand what is it actually checking.

I realized that I put it into a single "if" because it's difficult to split
DummyHttpHandler is used when this whole statement is false.

So there should be redundant new DummyHttpHandler () creations or goto
should be used.
I think using redundant code increases a prossibity of new or unfixed bug as
it's esay to modify only one of them.

And it's better to assing value to the variables inside if, to make the code
faster.

If you have a good solution to simplify this piece of code please let me
know.

Kornél




More information about the Mono-devel-list mailing list