|
|
|
|
|
by znpy
1942 days ago
|
|
IIRC some old unix book recommended splitting type declaration, prototype and body on different lines, like this: int
myFunc(char *str, int strlen)
{
<body>
}
with the rationale being that grepping for ^myFunc (or searching for it in vi) would have found the function declaration immediately.Not sure I like that, anyway. |
|