It would be very advantageous for you to be able to write and test new order handling logic without risking breaking one of the existing business rules.
对你而言,如果能够书写并且测试一些新的订单处理逻辑而不用冒着破坏现有业务规则的风险将会是一件非常有利的事情。
By following the Open Closed Principle with the order processing rules, I've made it much easier to add new types of order handling logic to the system.
通过在订单处理规则上遵循开闭原则,我使得在系统中添加新类型的订单处理逻辑容易得多。
By following the Open Closed Principle with the order processing rules, I've made it much easier to add new types of order handling logic to the system.
通过在订单处理规则上遵循开闭原则,我使得在系统中添加新类型的订单处理逻辑容易得多。
应用推荐