Re: Language Features I'd Like To See

From: Craig Stuntz [TeamB] (craig_stuntz_at_nospam.please)
Date: 03/09/05


Date: 9 Mar 2005 07:49:22 -0800

Captain Jake wrote:

> Aspect-Oriented programming

        Aspects are intriguing because they are an extremely blunt instrument.
The good thing about them is that you can do a lot with just a little
code, and the really bad thing about them is that you -- and anyone
else, for that matter -- can do a lot with just a little code.

        Of interest for anyone thinking about aspects, especially in the
context of .NET, will be this whiteboard session with Anders Hejlsberg:

"Right off the bat, AOP, for those of you who don't know, Aspect
Oriented Programming. I get asked this question on and off. I'm- at
this point, I'm sort of in wait-and-see mode. Call me a skeptic if you
will. I think there's some interesting things you can do with AOP. The
prototypical example that always comes up is logging or instrumentation
or debugging or monitoring. All of those I think are interesting uses,
but I worry about it as a general purpose programming discipline
because- I mean I imagine myself writing code where I know precisely
where control comes in and where it goes out and what goes between is
code I wrote unless I call something else. But with Aspect Oriented
Programming, anyone can put stuff anywhere they want. I just don't see
how, at a large scale, you reason about code in that way.

[...]

"I think there are other solutions to a lot of the things that AOP
does. That's my take on AOP."

http://msdn.microsoft.com/msdntv/episode.aspx?xml=episodes/en/20040624cs
harpah/manifest.xml

        He has some interesting (and generally more positive) comments about
mixins as well.

-- 
Craig Stuntz [TeamB] . Vertex Systems Corp. . Columbus, OH
  Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz


Relevant Pages

  • ILC 2003: some impressions
    ... remarking that Scheme continuations have indefinite extent while in Lisp ... The idea of programming languages in general and Scheme in particular as ... presentation on Aspect Oriented Programming (AOP) was also fascinating. ... instantiation of AOP for Java) is in debugging. ...
    (comp.lang.lisp)
  • Re: Raise of hands (virtually): How many here use AOP?
    ... very nice features of development environments like Eclipse that do NOT ... mis-uses of AOP try to change the GOAL of ... I become reluctant to throw exceptions in places where they might be ... am reduced to the level of a programming novice who determines if code ...
    (comp.lang.java.programmer)
  • RE: Will OOP programming go off and be replaced by AOP programming
    ... There's been slowly building hype about aspect oriented programming for ... concept that AOP seeks to centralize. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Vancouver : Gregor Kiczales at Meetup.
    ... drewc wrote: ... > doing work with Aspect Oriented Programming (AspectJ). ... > He plans to talk mostly about AOP and AspectJ, but if i can get a few ...
    (comp.lang.lisp)
  • Re: when to use component-based design vs. stayign with traditional OOP
    ... I saw a presentation by Gregor Kiczales on Aspect-Oriented ... Aspect-oriented programming is a programming paradigm that ... Even though the primary functionality of each class is very different, ... AOP helps with logging and security which are archetypal cross-cutting ...
    (comp.object)