News for hackers. Stuff that matters.
Re:Deconstructing "K&R C" by scott_s on Tuesday January 10, 2012 @06:26PM (#3449635)
Because it's the style I use, and because I don't need to bug-check the indented code to make sure it's braced correctly, I find this easiest to read:

  while ((len = getline(line, MAXLINE)) > 0) {
      if (len > max) {
          max = len;
          copy(longest, line);
      }
  }
  if (max > 0) { /* there was a line */
      printf("%s", longest);
  }
Re:Deconstructing "K&R C" by silon3 on Wednesday January 11, 2012 @03:24AM (#3450884)
By far.