News for hackers. Stuff that matters.
Re:Cleaning bad code by evilbit on Tuesday August 21, 2012 @12:07PM (#4413313)
Corollary: AOP is the enemy of refactoring.

You unwittingly changed one of the (seemingly unused/unnecessary) pointcuts and your aspects aren't firing anymore. While not impossible to track down, these problems are difficult to resolve.

Re:Cleaning bad code by ldh on Tuesday August 21, 2012 @04:16PM (#4414568)
This worries me every time I use AOP, but I mitigate that risk by writing integration tests which assert that the aspects are doing what they are intended to, and also to raise an alarm if somebody unknowningly breaks them.
Re:Cleaning bad code by praptak on Tuesday August 21, 2012 @03:02PM (#4414196)
I am not sure if this was AOP though maybe I'm committing the no true Scottsman fallacy here. Side note: decorators were not present in Python then, so there was no easy way to do the cutpoint thing in a visible way.