备忘录模式是一个很好的例子。
但是,从根本上来说通过模式实现重用属于细粒度操作:一个解决方案是(比如享元(Flyweight)模式)与另一个解决方案(备忘录模式)正交。
But, fundamentally, reuse via design patterns is fine-grained: one solution (the Flyweight pattern, for example) is orthogonal to another (the Memento pattern).
在备忘录中,舒尔茨提出,公司需要回到过去的传统根源模式。
In his memo Mr Schultz suggests that the company needs to go back to its roots.
应用推荐