【24h】

Design patterns for data structures

机译:数据结构的设计模式

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Design patterns provide ways to structure software components into systems that are flexible, extensible, and have a high degree of reusability. The state pattern, the null object pattern, and the singleton pattern are used to implement common data structures such as lists and trees. These patterns help narrow the gap between the abstract views of the data structures and their concrete implementations. The smaller the gap, the higher the level of abstraction. The more abstract, the less complex the coding structure. As a result, algorithms are easier to understand and more manageable. This paper advocates teaching the above design patterns in data structures courses.
机译:设计模式提供了将软件组件结构化为灵活,可扩展并具有高度可重用性的系统的方法。状态模式,空对象模式和单例模式用于实现常见的数据结构,例如列表和树。这些模式有助于缩小数据结构的抽象视图与其具体实现之间的差距。差距越小,抽象水平越高。越抽象,编码结构越简单。结果,算法更易于理解且更易于管理。本文主张在数据结构课程中教授以上设计模式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号