From ... Path: supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!newsfeed.rt.ru!news.algonet.se!algonet!newsfeed1.bredband.com!bredband!uio.no!Norway.EU.net!127.0.0.1!nobody From: Erik Naggum Newsgroups: comp.lang.lisp Subject: Re: Allocating on the stack and *only* on the stack Date: 12 Dec 2000 20:43:16 +0000 Organization: Naggum Software; vox: +47 800 35477; gsm: +47 93 256 360; fax: +47 93 270 868; http://naggum.no; http://naggum.net Lines: 21 Message-ID: <3185642596488733@naggum.net> References: <3185549145249958@naggum.net> <3185621647787532@naggum.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: oslo-nntp.eunet.no 976655823 16934 195.0.192.66 (12 Dec 2000 21:17:03 GMT) X-Complaints-To: newsmaster@eunet.no NNTP-Posting-Date: 12 Dec 2000 21:17:03 GMT mail-copies-to: never User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Xref: supernews.google.com comp.lang.lisp:5144 * Knut Arild Erstad | Actually, this _shouldn't_ be a problem for Java programmers; there | are no destructors in Java. Unfortunately, a lot of Java programmers | (even book authors) seem to be using finalizers as destructors. You're right! I had actually missed that, and have been thinking in destructor terms myself. Thanks! Goes to show how little I use them. | Java also has a try/finally clause that works like unwind-protect, but | of course, you can't use macros to hide the details. I think the ugliness of such verbose forms deters people from doing the right thing. Proper handling of exceptional situtations in Java is also too verbose for my comfort. Maybe I'm just spoiled. #:Erik -- "When you are having a bad day and it seems like everybody is trying to piss you off, remember that it takes 42 muscles to produce a frown, but only 4 muscles to work the trigger of a good sniper rifle." -- Unknown