Re: Question about style when converting from K&R to ANSI C.

Jonathan Lundell
2003-06-01T15:54:09Z

At 7:06am -0700 6/1/03, Larry McVoy wrote:
>It may be just what you are used to but I also find that when reading lots
>of code it is nice to have it look like
>
>return type
>function_name(args)
>
>because the function_name() stands out more, it's always at the left side so
>I tend to parse it a little more quickly.

The reason I've liked this format is that it gives me a quick and
universal way to find *specific* functions with vi or grep, by
searching for "^function_name(".

I'm less concerned with global function searches; there I don't mind
the overhead of more sophisticated tools.

When we're done with this thread, perhaps we can return to endian arguments....
--
/Jonathan Lundell.