[MUD-Dev] [TECH] PS: Eiffel and Assertions...
Ling Lo
ling at slimy.com
Thu Jan 17 04:08:17 CET 2002
On Wed, 16 Jan 2002, Adam Martin wrote:
> From: "Adam Martin" <ya_hoo_com at 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 at kanga.nu
https://www.kanga.nu/lists/listinfo/mud-dev
More information about the mud-dev-archive
mailing list