Path: news.daimi.aau.dk!jacobse From: jacobse@daimi.aau.dk (Jacob Seligmann) Newsgroups: comp.lang.beta Subject: Re: BETA and X-Windows (was: Re: LISP and X-Windows) Date: 14 Sep 1994 09:42:03 GMT Organization: DAIMI, Computer Science Dept. at Aarhus University Lines: 32 Message-ID: <356ghb$m5c@belfort.daimi.aau.dk> References: <34pog5$lss@hpsystem1.informatik.tu-muenchen.de> <34t9k3$2g5@nz12.rz.uni-karlsruhe.de> NNTP-Posting-Host: clematis.daimi.aau.dk Keywords: beta, lisp, clim, clx, ew, clio, clue, garnet Thus spake haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible): > When I contrast this situation in Lisp and C to the tiny X11 Hello-World > program for Beta: > > AwEnv > (# hello: @Label; > do hello.init; > 'Hello World' -> hello.label > #) > > I can only keep wondering: How do you get Hello-World programs that small? Using computed remote, you can express the entire X11 Hello-World program in a single imperative: AwEnv(# do (&label(# init:: (# do 'Hello world' -> label #) #)[]).init #) I'm not sure that this increases the readability, I just couldn't resist myself. :-) Cheers, /Jacob Seligmann ------------------------------------------------------------------------ Mjolner Informatics ApS Phone: (+45) 86 20 20 00 ext. 2754 Science Park Aarhus Direct: (+45) 86 20 20 11 - 2754 Gustav Wieds Vej 10 Fax: (+45) 86 20 12 22 DK-8000 Aarhus C, Denmark Email: jacobse@mjolner.dk ------------------------------------------------------------------------ BETA is better ------------------------------------------------------------------------