style-c
main
@@ -112,0 +119,4 @@
1. Avoid:
- function pointers; see [0].
- heap memory allocation; see [0].
- too many levels of dereferences; see [0].
I struggled with coming up with this example. Could someone proofread this?
I made changes to allow simple citation of the guidelines and clarify some of the visual hierarchy of the document.
@@ -9,0 +31,4 @@
case possibility:
statement;
break;
case default:
This should just be default: (so, sed 34s:case ::); as-is this is a syntax error.
default:
sed 34s:case ::
@@ -34,3 +71,1 @@
case 'l': mode |= LESS; break;
default: return usage(s);
}
5. Fixed bounds for loops [0].
I fear this is impossible; dj(1), for instance, necessarily can't put an upward bound on read cycles.
Maybe, "where possible"?
Merged.
No dependencies set.
The note is not visible to the blocked user.
@@ -112,0 +119,4 @@1. Avoid:- function pointers; see [0].- heap memory allocation; see [0].- too many levels of dereferences; see [0].I struggled with coming up with this example. Could someone proofread this?
I made changes to allow simple citation of the guidelines and clarify some of the visual hierarchy of the document.
@@ -9,0 +31,4 @@case possibility:statement;break;case default:This should just be
default:(so,sed 34s:case ::); as-is this is a syntax error.@@ -34,3 +71,1 @@case 'l': mode |= LESS; break;default: return usage(s);}5. Fixed bounds for loops [0].I fear this is impossible; dj(1), for instance, necessarily can't put an upward bound on read cycles.
Maybe, "where possible"?
Merged.
Pull request closed