Glenn Maynard f32fdae326 simplify
Quick 6am (zzzz) tips:

If a block is more than a few lines long, always bracket {} it, even if you
don't have to.  Large unbracketed expressions get hard to follow.

Don't do this:
while(stuff) {
   if(x) {
      do lots of stuff;
   }
}

Instead, do this:

while(stuff) {
   if(!x)
      continue;
   do lots of stuff;
}

This simplifies program flow; the former makes me scroll down the page
to see if there's anything after the "if" before it comes around the loop
again.  It also reduces indentation.

XXX's are things that I'm not going to try to do at 6am ...
2003-07-07 10:51:58 +00:00
2003-07-07 10:51:58 +00:00
S
Description
554 MiB
Languages
C++ 85.7%
Lua 4.3%
C 4.3%
Rich Text Format 2.3%
CMake 1.1%
Other 2%