What are the functional differences between AspectJ and PostSharp?

Does anyone know what AOP features are different between AspectJ and PostSharp (yes, I know they are for different languages ​​and platforms)?

I'm trying to figure out what things AspectJ PostSharp would allow, and vice versa.

+3
source share
2 answers

PostSharp 2.0 is much closer to AspectJ than PostSharp 1.5. Comparing PostSharp 1.5 with Spring AOP was justified, but no longer with PostSharp 2.0.

However, there are still some strong differences in approach.

  • pointcuts . AspectJ pointcut. PostSharp pointcut, , ( System.Reflection), pointcut . , pointcut, PostSharp # Linq.

  • pointcut (cflow).

  • PostSharp , . , AspectJ ( Java afaik ).

  • PostSharp , . "" , . ( , pointcut, ).

  • PostSharp , . PostSharp , . , / , .

2.0 PostSharp IDE, "AJDT" Eclipse.

+4

Source: https://habr.com/ru/post/1720716/


All Articles