directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <>
Subject Commenting code
Date Sun, 12 Dec 2004 15:18:21 GMT
Alex wrote:

> I fixed this in the following revision:

One thing I am noticing, just as an example, is that when fixes are put into
the repository, we have a decent description of the fix in the commit log,
but comments are relatively sparse.

My general comment is that I'm not seeing code commented as if some other
programmer would have to work on it.  Yes, tend to have a description of
each method, and usually something on branch points, but I comments are
explanations to some other programmer (as well as reminders to ourselves
some months or years later) as to what the code is doing and why it is

This observation is certainly not limited to this project, but reading
through recent commits inspired me to prod everyone to comment code.

	--- Noel

View raw message