Re: assert usage: Starting to use assertions.

2005-09-10 Thread Meskauskas Audrius
That is really great. I start using assertions in my code. Tom Tromey wrote: "Robert" == Robert Schuster <[EMAIL PROTECTED]> writes: Robert> Roman started using the assert statement. Robert> Do we finally support this officially? IMO we ought to. We have all the runtime support

Re: assert usage

2005-09-08 Thread Tom Tromey
> "Robert" == Robert Schuster <[EMAIL PROTECTED]> writes: Robert> Roman started using the assert statement. Robert> Do we finally support this officially? IMO we ought to. We have all the runtime support. All the compilers we recommend support it (and usually give the option to disable code

assert usage

2005-09-08 Thread Robert Schuster
Hi, Roman started using the assert statement. Do we finally support this officially? Can we work out some recommendation when to use assert ( expr ); OR assert ( expr ) : "what to say here?"; OR if ( precondition ) throw new WhatException() to have consistent code? cu Robert __