Re: commit: fv_View.cpp, pt_PT_ChangeSpan.cpp


Subject: Re: commit: fv_View.cpp, pt_PT_ChangeSpan.cpp
From: Mike Nordell (tamlin@algonet.se)
Date: Sun Feb 25 2001 - 11:35:15 CST


Tomas Frydrych wrote:
> pt_PT_ChangeSpan.cpp: added a helpful debug message before an
> unhelpful assert.

If an assert is unhelpful, it's a bad assert. If it's in a so complicated
context that you can't easily understand the reason for it, add comments. An
assert that no one understands is even *less* helpful than a SEGV. All IMHO
of course.

/Mike



This archive was generated by hypermail 2b25 : Sun Feb 25 2001 - 11:33:42 CST