Ask HN: Aspect Oriented Programming?
Is Aspect Oriented Programming the next great thing or is it just a passing fancy? How do you feel it compares to other, similar techniques? (I'm being intentionally vague so that you can talk about whichever techniques you find to be similar to AOP.)
1 comment
[ 1400 ms ] story [ 883 ms ] threadThe fundamental problem with aspect-oriented programming is that it makes it impossible to reason compositionally: any part of your program could be affected by an aspect, so it can be quite hard to know what your code is doing.
I think instrumentation, as a technique, is vital. But having instrumentation as a language-level feature seems like a bad idea to me. As a programmer, I instrument code to understand its behavior, not to define it.