[Home] [Groups] - Message: [Prev in Group] [Next in Group]

nu.kanga.list.mud-dev

22027: Re: [MUD-Dev] [TECH] PS: Eiffel and Assertions...

[Full Header] [Plain Text]
From: Ling Lo <ling@slimy.com>
Newsgroups: nu.kanga.list.mud-dev
Date: Thu, 17 Jan 2002 04:08:17 -0800 (PST)
References: [1]
Organization: Kanga.Nu
On Wed, 16 Jan 2002, Adam Martin wrote:
> From: "Adam Martin" <ya_hoo_com@yahoo.com>

>> On a related issue, does anyone have experience of any
>> assertions-libraries for java? It appears not to be particularly
>> difficult to write one from scratch (I can see ways of adding on
>> all the necessary functionality, although most of them are rather
>> ugly), but making it of reasonable performance, usability and
>> stability might take more time than I'd ever have available.  >

> P.S. I should have added that we've found a LOT of things that
> *claim* to add assertions to Java (it seems to be a bit of a
> bandwagon activity) and yet most of them are 15 lines of code,
> working at the API level. I'm really thinking of something that
> goes deeper - rejecting out of hand anything that doesn't involve
> some kind of pre-processor/compiler stage.

Would the assert stuff in JDK 1.4 count?

  http://java.sun.com/j2se/1.4/docs/guide/lang/assert.html

It appears to involve a compiler stage...  Enjoy.

--
  |   Ling Lo
_O_O_ Fish!

_______________________________________________
MUD-Dev mailing list
MUD-Dev@kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev