Re: Comments are welcome for two sequential search C functions
- From: Mark McIntyre <markmcintyre@xxxxxxxxxxx>
- Date: Tue, 11 Jul 2006 22:37:28 +0100
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
.
- Follow-Ups:
- Re: Comments are welcome for two sequential search C functions
- From: Richard Heathfield
- Re: Comments are welcome for two sequential search C functions
- References:
- Comments are welcome for two sequential search C functions
- From: lovecreatesbeauty
- Re: Comments are welcome for two sequential search C functions
- From: Bill Pursell
- Re: Comments are welcome for two sequential search C functions
- From: bert
- Re: Comments are welcome for two sequential search C functions
- From: Chris Dollin
- Re: Comments are welcome for two sequential search C functions
- From: Richard Heathfield
- Comments are welcome for two sequential search C functions
- Prev by Date: Re: Counting args in variadic macros
- Next by Date: Re: open() and fopen()
- Previous by thread: Re: Comments are welcome for two sequential search C functions
- Next by thread: Re: Comments are welcome for two sequential search C functions
- Index(es):
Relevant Pages
|