Re: [dwm] Coding styles

From: nilp <nilpni_AT_gmail.com>
Date: Thu, 31 Jul 2008 14:04:13 +0000

On Thu, Jul 31, 2008 at 01:37:22PM +0200, pancake wrote:
> I wrote a random list of tips for coding (mostly in C)
>
> http://news.nopcode.org/miau/wk/BadCoding
>
> If you have some ideas/missing tips i'm open for discussion :)
>
> --pancake
>

I'd remove the "Comments are for humans" paragraph -- code commenting
is good, and sacrificing it for less lines of code (?) is IMO stupid
and wrong (though you could add something about commeting _what_ code does,
not _why_).
Also, adding link to The Art of Unix Programming would be nice,
there's lot of good points about code complexity etc. (100% must-read IMHO).

---
Nilp
Received on Thu Jul 31 2008 - 14:04:13 UTC

This archive was generated by hypermail 2.2.0 : Thu Jul 31 2008 - 12:12:03 UTC