[ nice-Feature Requests-1153220 ] option assert

"SourceForge.net" <[email protected]> Sun, 27 Feb 2005 20:51:54 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Feature Requests item #1153220, was opened at 2005-02-28 07:51
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362788&aid=1153220&group_id=12788

Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Artem Gr Kozarezov (artemgr)
Assigned to: Nobody/Anonymous (nobody)
Summary: option assert

Initial Comment:
Assertions are convenient, but drawback is that they're
counter-intuitive and aren't reliable becouse they can
be turned off (and _are_ turned off) by default. Some
features (like automatic generation of assertion
message from expression, or null and instanceof checks)
are hard or impossible to repeat in the program itself.
Proposal is, therefore, to implement "option"
assertions, in addition to the existing ones. Keyword
"?assert" would mean the usual assertion, while keyword
"!assert" would be an assertion that always works.

P.S. "Permanent" assertion not only are convenient, but
would lead both to less compicated bytecode (no need to
initialize and check static variable) and less
complicated programs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=362788&aid=1153220&group_id=12788


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click