There are rather more I can think of (mainly because I've done some of
them):
- [me] Use characters outside the standard ASCII set like degree or square
(superscript 2)
- [Something I've seen others do] don't use the memory manager when you can
just make a fixed array with 10000*10000 entries, that should be big enough
for anything!
- [me] Make comments only decipherable if you know specific people by name,
e.g.
for (sign=0;sign<2;sign++) for (useful=0;useful<2;useful++) for
(i=0;i<=20;i++)
{ // Double-binned stuff that Roger was going on about
for (j=0;j<=20;j++) pizp[sign][useful][i][j]=0;
for (j=0;j<36;j++) pizth[sign][useful][i][j]=0;
}
- [me] Use the conditional ternary operator on Lvalues, e.g.