首页> 外文期刊>SIGCSE bulletin >Teaching Design Patterns By Stealth
【24h】

Teaching Design Patterns By Stealth

机译:隐身教学设计模式

获取原文
获取原文并翻译 | 示例
           

摘要

Learning design patterns is tough, even for seasoned programmers who have seen lots of programs and hence have a sense for constructs that tend to recur. Teaching design patterns to new programmers is even tougher. As Asher Sterkin states, "Teaching design patterns in isolation is similar to studying a foreign language with only a dictionary.". It is far better to try to teach design patterns using killer examples to help motivate and illustrate each pattern. I propose here something a little more radical: to teach by stealth. With a small number of principles of good program design, and using a running case study that grows in complexity through the semester, we can, through class discussions and exercises, "invent" programming solutions that turn out to be some of the important design patterns. The official names and definitions of the pattern are revealed only after the fact, if at all.
机译:学习设计模式非常困难,即使对于经验丰富的程序员来说,他们也看过很多程序,因此对倾向于重复出现的构造有一定的了解。向新程序员讲授设计模式更加困难。正如Asher Sterkin所说,“孤立地讲授设计模式类似于只用字典学习外语”。最好尝试使用杀手级示例来教授设计模式,以帮助激发和说明每种模式。我在这里提出一些更为激进的建议:隐身教学。凭借少量优质程序设计的原则,并使用贯穿整个学期的复杂性不断增长的案例研究,我们可以通过课堂讨论和练习来“发明”编程解决方案,这些解决方案原来是一些重要的设计模式。该模式的正式名称和定义仅在事实之后才公开(如果有的话)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号