4 ms·
? no, it's not. look at https://python-aspectlib.readthedocs.io/en/latest/ https://python-aspectlib.readthedocs.io/en/latest/ for an example of using aspect wi
by _ZeD_ 6y ago
?
no, it's not.
look at https://python-aspectlib.readthedocs.io/en/latest/ https://python-aspectlib.readthedocs.io/en/latest/ for an example of using aspect with python
- louiskottmann 6y agoDecorators and AOP are very similar concepts in my opinion then, if you prefer.
- lmm 6y agoPython decorators are a (limited) form of AOP: they let you transform functions in-place to implement cross-cutting concerns. Aspectlib allows you to do a more intrusive form of AOP.