lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, May 23, 2010 at 11:17 AM, Florian Weimer <fw@deneb.enyo.de> wrote:
> I'm not saying that Hoare was wrong, but he seems to ignore the
> possibility that asserts are not necessarily better than the code
> around them.

Yes, it's easy to write an assertion, but not so easy to do something
sensible when it gets raised.  Crashing server processes and obscure
popups do not inspire a feeling of quality software.  Main moral of
story is this:  you cannot rely on the out-of-the-box assert()
function for production code.