问题描述
我知道这个问题以前曾被问过,但这是一年半以前的,尽管我认为可能是重新提出问题的时候了.我也认识到它可能被认为是主观的,但我猜想有/反对AOP的客观原因.
I know this question has been asked before, but this was one and a half years ago, though I thought it might be the time for a re-questioning. I also recognized it might be seen as subjective, but I guess there are objective reasons for/against AOP.
我会对谁在软件开发中使用AOP ,以及为什么或为什么不使用它感兴趣.
I would be interested in who is using AOP in software development and also why or why not using it.
我认为AOP是非常强大的范例,它可以使许多开发任务变得更容易.但是,当涉及到在现实世界项目中使用AOP时,我的经验是许多决策者几乎不愿意接受它. 您如何设法将AOP引入项目中?
I see AOP as a very strong paradigm which can make a lot of development tasks easier. But when it comes to using AOP in real world projects I have made the experience that many decision makers are barely open to it. How did you manage to introduce AOP into your projects?
2008年8月以来的常见问题:您是否在生产软件中使用AOP(面向方面的编程)?
Previously asked question from August 2008: Do you use AOP (Aspect Oriented Programming) in production software?
推荐答案
我们的经理听取了他们的架构团队的意见.
Our managers listen to their architecture team.
我们告诉他们,AOP是实现交叉关注功能的唯一解决方案:
We tell them that AOP is the only solution to implement cross-concern features:
- 首先以合理的价格
- 在不弄乱开发团队编写的功能代码的情况下
- 现在和将来都不会忘记(与向数千种方法手动添加try-catch相比)
- 无需培训或控制开发人员的工作(有些很棒,有些则是一团糟)
- 具有良好的可维护性
是的,我们的项目是20名开发人员,历时数年,因此有大量的代码.这是唯一的解决方案.
True, our project is 20 developers and lasted for several years, so there is a huge mass of code. It's the only solution.
是的,我们的软件是生产软件.数以百计的诊所都依赖它!
And yes, our software is production-software. Hundreds of clinics depend on it!
这篇关于如何将AOP引入生产性软件开发中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!