Re:Introduction to Aspect-Oriented Programming
by EdwardDiego on Sunday July 13, 2014 @12:52AM
(#8026693)
From what I understand, AOP is mainly useful for modifying code at runtime that you can't modify before compile time. So for adding logging to your app, meh. For adding logging around a closed source third party lib? Awesome.
[ Parent
| on HN ]
Re:Introduction to Aspect-Oriented Programming
by different-opini on Sunday July 13, 2014 @12:57AM
(#8026701)
Not really, AOP can be compile time - e.g. PostSharp.
Re:Introduction to Aspect-Oriented Programming
by EdwardDiego on Sunday July 13, 2014 @02:53AM
(#8026842)
Compile time around third party code, or just yours? Because I was trying to extract a point of difference where AOP does something you couldn't do otherwise.
Re:Introduction to Aspect-Oriented Programming
by simplyinfinity on Sunday July 13, 2014 @05:58AM
(#8027029)
AFAIK - PostSharp modifies your code based on annotations you specified on whole assemblies, namespaces or just classes during compilation to do stuff that otherwise would be impossible