Each delegate is responsible for a specific role or task to keep the system simple and clean.Whenever an object needs to perform a certain task, it depends on another object to handle it. This is usually known as “separation of concerns” in software design.
Chris Lattner的LLVM教程中文版: https://llvm-tutorial-cn.readthedocs.io/en/latest/chapter-1.html IBM - 使用 LLVM 框架创建一个工作编译器: https://www.ibm.com/developerworks/cn/opensource/os-createcompilerllvm1/index.html https://www.ibm.com/developerworks/cn/opensource/os-createcompilerllvm2/index.html
评论
发表评论