Hacker News new | ask | show | jobs
by Omroth 1107 days ago
I was already dubious of the concept, but the account example in the page makes me even more so.

"Transactions, security, and logging all exemplify cross-cutting concerns."

Logging, maybe. Transactions and security? Hard disagree.

And then in the example it checks for enough funds to make the withdrawal, and then makes the withdrawal, not as an atomic ation. I don't think that's just nit-picking on a simple example - how AOP interacts with atomic actions is fundamental to the use-case.