Re: Comments are welcome for two sequential search C functions



On Tue, 11 Jul 2006 02:24:18 +0000, in comp.lang.c , Richard
Heathfield <invalid@xxxxxxxxxxxxxxx> wrote:

Chris Dollin said:

<snip>

On t'other hand, in C, I'd unhesitatingly break the "single
exit point" rule, because I prefer the rule "don't screw
the next programmer" (which is usually me) - clarity is
more important than bureaucracy.

I agree that clarity is more important than bureaucracy, but I stick to the
"single exit point" technique because, in my view, it aids clarity.

I'm fairly certain however that you're not a believer in the "my
country, right or wrong" approach to programming.

--
Mark McIntyre

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan
.



Relevant Pages