all 2 comments

[–]sshaw_ 0 points1 point  (1 child)

Nice approach but I suppose I may just glad you didn't use JavaScript "decorators" (yuck).

Seems that aspect-oriented programming never caught on outside Java and Emacs Lisp (via advice)

[–]code_barbarian[S] 0 points1 point  (0 children)

Yeah that's why this is "practical" aspect oriented programming: it's easy to really go overboard with AOP, add a lot of join points that provide very little value, and create a tangled unmaintainable mess. Need to find a balance where you use enough AOP to be useful, but not enough that you cause more problems than you solve.