🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.eiffel
Article #1524

Re: Assertion tags

#1524
From: Norman K. Shelley
Date: Fri, 02 Feb 1990 16:35
25 lines
1369 bytes
In article <JWG1.90Jan31164048@bunny.gte.com>, jwg1@gte.com (James W.
Gish) writes:
> In article <1758@esquire.UUCP> yost@esquire.UUCP (David A. Yost) writes:
> >	I think assertion tags should be strings, not
> >	identifiers, like this:
> >				"non-void widget": not w.Void
> Why ?  I don't see the advantage.
> --

Advantages:  
1.) When an assertion fails the tag is printed out ALL in lower case because
Eiffel is case insensitive.  A string would allow upper and lowercase
characters
which allows for more readable assertion failure messages.

2.) A string also would allow the use of whitespace to delineate words which
would dramatically improve readability of the assertion failure message.

Norman Shelley
Motorola - ATC
2200 W. Broadway M350
Mesa, AZ 85202
...!uunet!dover!atc!shelley
shelley@atc.sps.mot.com
(602) 962-2473
Technical Details
Message-ID: <4867dc47.12c9a@digital.sps.mot.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!cs.utexas.edu!asuvax!mcdphx!dover!digital!atc!shelley
References: <JWG1.90Jan31164048@bunny.gte.com> <120005@gore.com> <JWG1.90Jan30102704@bunny.gte.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!umich!samsung!cs.utexas.edu!asuvax!mcdphx!dover!digital!atc!shelley
From: shelley@atc.sps.mot.com (Norman K. Shelley)
Newsgroups: comp.lang.eiffel
Subject: Re: Assertion tags
Message-ID: <4867dc47.12c9a@digital.sps.mot.com>
Date: 2 Feb 90 16:35:22 GMT
References: <JWG1.90Jan31164048@bunny.gte.com> <120005@gore.com> <JWG1.90Jan30102704@bunny.gte.com>
Sender: news@digital.sps.mot.com
Reply-To: shelley@atc.sps.mot.com (Norman K. Shelley)
Lines: 25