Boost logo

Boost :

From: David B. Held (dheld_at_[hidden])
Date: 2002-09-09 22:58:43

"Eric Woodruff" <Eric.Woodruff_at_[hidden]> wrote in message
> Yeah, but comments should be rare, and most importantly they should
> be ugly, just like reinterpret_cast<> was intended to be, to make sure
> that problem that is commented about is hopefully fixed ASAP.
> Therefore, they SHOULDN'T ALIGN. They should cause the reader
> much pain!

I'm glad that you either have the luxury of writing code that is always
trivially understandable, or you have such an high IQ that all "correct"
code is immediately obvious to you. However, others of us are not
nearly so insightful or are not afforded such luxuries, and there are
plenty of times when comments are both appropriate and do not
signify a coding error. Furthermore, some of us may like to put these
comments in nicely aligned columns. I think a very good example is
the SGI implementation of std::map. Take a good look at the insert()
functions, and tell me that A) they do not need comments, or B) they
have problems that need to be fixed.


Boost list run by bdawes at, gregod at, cpdaniel at, john at