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,2e26b805f6d341ba X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-10-10 14:00:13 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!msc1.onvoy!ply1.onvoy!upp1.onvoy!onvoy.com!news-out.visi.com!hermes.visi.com!news From: cjsonnack@mmm.com (Programmer Dude) Newsgroups: comp.lang.ada Subject: Re: Aspect-Oriented Programming Date: Thu, 10 Oct 2002 15:38:24 -0500 Organization: 3M Company Message-ID: <3DA5E540.65F4DEF3@mmm.com> References: <3D975896.CDB6CA2E@adaworks.com> <3d977d7e.65439093@news.cis.dfn.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en]C-CCK-MCD 3M/NCP 4.5 (WinNT; I) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:29692 Date: 2002-10-10T15:38:24-05:00 List-Id: Nick Roberts wrote: I was very interested in your example of AOP. I puzzled over this: > Now, suppose we wished to divide this into the aspects: Debug.Before; > Main; Debug.After. The refactoring would generate the following > compilation units: > > private package Ice_Cream.Debug is end; > private package Ice_Cream.Debug.Before is > [...] > end Ice_Cream.Debug.Before; > > private package Ice_Cream.Main is > [...] > end Ice_Cream.Main; > > private package body Ice_Cream.Debug.After is > [...] > end Ice_Cream.Debug.After; Should the keyword "body" not be there above? (I have, so far, only a smattering, passing knowledge of Ada, so I'm probably wrong.) In any event, I found it a very educational example; thanks! -- |_ CJSonnack _____________| How's my programming? | |_ http://www.Sonnack.com/ ___________________| Call: 1-800-DEV-NULL | |_____________________________________________|_______________________| Opinions expressed herein are my own and may not represent those of my employer.