2 ms·
Yes, I've found this too. Comments that are useful to more than just the original author tend to be at least 2-3 sentences long. It's hard to fit that many sent
by to3m 13y ago
Yes, I've found this too. Comments that are useful to more than just the original author tend to be at least 2-3 sentences long. It's hard to fit that many sentences into 80 characters, a total which is already being eaten away by indentation and comment prefix. (For example, your average C# function will be indented 2 stops. C++ member function declarations will be indented 1 or 2 stops. In both these cases you also lose 2 or 3 chars from the leading "//" or "// ".)
Before I used Comment Reflower, I used one of the example VBA macros that comes with Visual Studio. It was rather slow, and somewhat buggy (you're much, much better of with Comment Reflower) but it would - usually - word wrap your comments without making too much of a mess. But I noticed my comments improving in quality pretty much the moment I started using it, because finally I could say as much as needed to be said without it being a bother to keep things nicely formatted, or having to even think about the effort of keeping it up to date later.