From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,45b47ecb995e7a3 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-09 13:29:02 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!newsfeed.germany.net!newsfeed2.easynews.net!easynews.net!news.cid.net!news.enyo.de!news1.enyo.de!not-for-mail From: Florian Weimer Newsgroups: comp.lang.ada Subject: Re: Ada Idioms Progress Preview Date: Thu, 09 Aug 2001 22:36:31 +0200 Organization: Enyo's not your organization Message-ID: <871ymlx968.fsf@deneb.enyo.de> References: <3B6F1B2F.4FC3C833@gsde.hou.us.ray.com> <5ee5b646.0108071819.6e84e33d@posting.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Xref: archiver1.google.com comp.lang.ada:11706 Date: 2001-08-09T22:36:31+02:00 List-Id: Ted Dennison writes: >>c) Gadzooks! What on earth does that mean, let me reach for the LRM. >>Ah, yes, finally figured it out -- to clever for me! > > Out of curiosity, which category would you place the "Rosen Trick" in? (b), I think. It's necessary to implement memoizing transparently, and useful in other ways, too. > It might be farily clear to an Ada expert what the code does, but > without extensive commenting (or knowledge of the trick) it would be > rather tough to figure out why someone would go through all that > trouble. The trick per se is not very hard to grok, I think. In my opionen, it's surprising that this construction is necessary, and that it is indeed valid Ada. To figure out the last two things, you need probably some expertise, but this is not necessary to understand the idiom and use it. After all, do you know the origins of all the English idioms you're using? ;-)