comp.lang.ada
 help / color / mirror / Atom feed
From: cjsonnack@mmm.com (Programmer Dude)
Subject: Re: Aspect-Oriented Programming
Date: Thu, 10 Oct 2002 15:38:24 -0500
Date: 2002-10-10T15:38:24-05:00	[thread overview]
Message-ID: <3DA5E540.65F4DEF3@mmm.com> (raw)
In-Reply-To: 3d977d7e.65439093@news.cis.dfn.de

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 <Chris@Sonnack.com> _____________| 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.




  parent reply	other threads:[~2002-10-10 20:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-29 19:46 Aspect-Oriented Programming Richard Riehle
2002-09-29 22:56 ` Nick Roberts
2002-09-29 23:27   ` Pat Rogers
2002-10-01 23:45   ` Richard Riehle
2002-10-03  0:11     ` Nick Roberts
2002-10-10 20:38   ` Programmer Dude [this message]
2002-10-10 21:09     ` Jim Rogers
2002-10-15 16:13       ` Programmer Dude
2002-09-30  6:02 ` Caffeine Junky
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox