Article View: comp.lang.eiffel
Article #1532Question about assertions
From: johnson
Date: Tue, 06 Feb 1990 17:40
Date: Tue, 06 Feb 1990 17:40
14 lines
1052 bytes
1052 bytes
I have some questions about assertions. I have never used Eiffel, though I've read the book. Assertions are one of the nicer ideas in the language. My questions are centered around how people use them and their run-time cost. Clearly assertions have some run-time overhead. Probably many people turn them off once they get a program written to eliminate the overhead. Can this be done on a class-by-class or a method-by-method basis? Is it forbidden? What are the costs of assertions? Perhaps they are not as expensive as I think. Ralph Johnson - University of Illinois at Urbana-Champaign
Technical Details
Message-ID:
<118100003@p.cs.uiuc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!p.cs.uiuc.edu!johnsonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!samsung!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!ux1.cso.uiuc.edu!m.cs.uiuc.edu!p.cs.uiuc.edu!johnson From: johnson@p.cs.uiuc.edu Newsgroups: comp.lang.eiffel Subject: Question about assertions Message-ID: <118100003@p.cs.uiuc.edu> Date: 6 Feb 90 17:40:06 GMT Lines: 14 Nf-ID: #N:p.cs.uiuc.edu:118100003:000:600 Nf-From: p.cs.uiuc.edu!johnson Feb 5 17:26:00 1990