From: dblack@... Date: 2002-09-11T09:26:15+09:00 Subject: Re: Ruby aesthetics Hi -- On Wed, 11 Sep 2002, Steve Grazzini wrote: > Christian Szegedy wrote: > > David.Stagner@mpls.frb.org wrote: > >> > >> On a vaguely related note, i was working on a language for a while with > >> a friend of mine. My favorite contribution to the language was a > >> keyword i haven't seen elsewhere... "forever", to imply an infinite > >> loop. So to create an infinite loop, you would write > >> > >> forever { ... } > >> > >> rather than > >> > >> while(true) { ... } > >> > > > > Just a remark: Ruby has "loop { }" which is the same as > > your "forever". > > > > And REXX has the genuine article: > > do forever > ... > end I dunno... I was wondering which was more genuine. As David S. said, "forever" implies an infinite loop. "loop" *is* an infinite loop. :-) David -- David Alan Black | Register for RubyConf 2002! home: dblack@candle.superlink.net | November 1-3 work: blackdav@shu.edu | Seattle, WA, USA Web: http://pirate.shu.edu/~blackdav | http://www.rubyconf.com