What are the disadvantages of Aspect-Oriented Programming (AOP)?

前端 未结 7 1239
眼角桃花
眼角桃花 2021-02-02 09:54

What are the possible and critical disadvantages of Aspect-Oriented Programming?

For example: cryptic debugging for newbies (readability impact)

7条回答
  •  太阳男子
    2021-02-02 10:09

    • Poor toolchain support - debuggers, profilers etc may not know about the AOP and so may work on code as if all the aspects had been replaced by procedural code
    • Code bloat - small source can lead to much larger object code as code is "weaved" throughout the code base

提交回复
热议问题