面向对象程序设计中的设计策略和知识:经验的影响
Design Strategies and Knowledge in Object-Oriented Programming: Effects of Experience
摘要:
对面向对象软件设计中的设计策略和知识进行了实证分析。八名专业程序员具有过程程序设计语言的经验,并且在与面向对象范式的两个中心方面相关的面向对象设计策略方面有经验或没有经验:(1)关联动作,即,执行步骤,复杂计划到不同的对象和修改复杂计划,以及(2)在类层次结构中的不同级别定义简单计划。至于开发复杂的计划元素附加到不同的对象,我们的研究结果表明,对于初学者在OOP,对象的描述和描述的行动并不总是集成在早期的设计阶段,特别是声明性的问题,而对于程序员在OOP经验丰富,对象的描述和动作的描述倾向于被整合在他们的解决方案的初稿中,无论问题类型如何。对设计策略的分析揭示了根据受试者的语言经验使用不同的知识:(1)与过程语言相关的模式;动作按执行顺序组织,或(2)与面向对象语言相关的模式;动作和对象集成,并围绕对象组织动作。
英文摘要:
An empirical study was conducted to analyse design strategies and knowledge used in object-oriented software design. Eight professional programmers experienced with procedural programming languages and either experienced or not experienced in object-oriented design strategies related to two central aspects of the object-oriented paradigm: (1) associating actions, i.e., execution steps, of a complex plan to different objects and revising a complex plan, and (2) defining simple plans at different levels in the class hierarchy. As regards the development of complex plans elements attached to different objects, our results show that, for beginners in OOP, the description of objects and the description of actions are not always integrated in an early design phase, particularly for the declarative problem whereas, for the programmers experienced in OOP, the description of objects and the description of actions tend to be integrated in their first drafts of solutions whichever the problem type. The analysis of design strategies reveal the use of different knowledge according to subjects' language experience: (1) schemas related to procedural languages; actions are organized in an execution order, or (2) schemas related to object-oriented languages; actions and objects are integrated, and actions are organised around objects.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。