MF:我认为AOP是一个完全不同的概念,不过通常认为借助领域特定语言来描述横切问题应该比用普通框架的命令-查询式接口更具可读性。
MF: I think AOP is an unconnected concept, other than in the generic sense that describing aspects with a DSL may be more readable than a framework's command-query interface.
场景可以执行的部分,就是你可以构建实际领域特定语言的地方,用普通的英语编写(或者任何其它语言),因此几乎不需要学什么特别的语法。
The executable parts of a scenario, where you can build the actual DSL, are written in plain English (or almost any other language), so there's virtually no special syntax to learn.
RJP:还有一个需要考虑的问题是,用领域特定语言编写程序所需要的编辑器。
RJP: Another consideration is an editor for scripts written in the DSL.
还可以用领域特定语言(DSL)(使用规范文档中使用的语法和语义)描述上面的策略,如下所示
The same policy description in a domain specific language (which uses the same syntax and semantic used in the specification document) looks like this
高考英语单选题的重点转向考查学生在特定语言环境下说用英语的能力;
Test I (B) of National Matriculation English Test (NMET) has now placed a special emphasis on the students' language ability.
高考英语单选题的重点转向考查学生在特定语言环境下说用英语的能力;
Test I (B) of National Matriculation English Test (NMET) has now placed a special emphasis on the students' language ability.
应用推荐