Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: "Humane Pointcut Languages" [Was: Re: [aspectj-users] AW:Pointcuton a constructor with a custom @Annotation]

I think Dean captures an important problem when he writes: "it bothers
me that we discuss high-level concerns, say for example security, then
turn around and write PCDs using very low-level primitives that tend
to reference specific classes, methods, etc."

But I can't see why a more verbose, java like syntax would be more
"humane", and it for sure does not address the above stated problem.

I strongly believe that the only thing that helps is to raise the
abstraction level above implementation details and rely on metadata.

(A plus would of course be to have an optional simplified syntax that
supports that directly, but with a goal to be more concise not
verbose.)

See my post http://jonasboner.com/2006/04/24/domain-driven-pointcut-design/,
where I actually discussing another issue, but that is closely related
to what I think is the main problem with having the wrong abstraction
level.

/Jonas

On 4/27/06, Dean Wampler <dean@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Nick Lesiecki wrote:
> > I have to admit that Dean's proposal looks appealing. Pre-aspectj 5, I
> > could easily parse 90% of PCDs. With the addition of annotations, it's
> > become much more difficult to ascertain what patterns and modifiers
> > apply to what part of the pointcut. For some PCDs, it's simple, for
> > other's it's become much much harder. Note that one of the number-one
> > complaints about AspectJ I hear from new users is the density of the
> > poincut language.
> >
> > Nick
> >
>
> Thanks for your support ;)  By the way, I wrote up a summary of my ideas
> on my blog: http://blog.aspectprogramming.com/
>
> dean
>
> --
> Dean Wampler, Ph.D.
> dean at aspectprogramming.com
> http://www.aspectprogramming.com
> http://www.contract4j.org
> I want my tombstone to say:
>    Unknown Application Error in Dean Wampler.exe.
>    Application Terminated.
>    [Okay]    [Cancel]
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>


--
Jonas Bonér
Terracotta, Inc.

http://jonasboner.com
http://www.terracottatech.com

Back to the top