Hacker News new | ask | show | jobs
by 0xff00ffee 2312 days ago
Raise your hand if you at first thoroughly expected to mock this, and then giggled at "function" (vs. subroutine), patted yourself on the back for knowing everything up until ... ASPECT? DAFUQ IS ASPECT?

Just me? Ok, I'll show myself out.

Great way to visualize. I think Exceptions, Finally (and Promises) got a little messy, but would make a good poster.

2 comments

The actual question is : did it allow you to quickly understand the "aspect" concept by using a common graphical representation? If yes, that's a win
No. The explanation isn't clear: why is g() inserted at one point and h() inserted at another. This needs to be explained.

However, from what I observe, "aspects" look a lot like Common LISP Object System (CLOS) before/after/around methods.

I'm sure you're not the only one, but yes AOP is something a lot of people interested in programming languages have likely heard of at some point.