首页> 外文会议> >Seven deadly sins of introductory programming language design
【24h】

Seven deadly sins of introductory programming language design

机译:入门编程语言设计的七个致命罪过

获取原文

摘要

Discusses seven undesirable features that are common to many programming languages used to teach first-time programmers: (1) less is more; (2) more is more; (3) grammatical traps; (4) hardware dependence; (5) backwards compatibility; (6) excessive cleverness; and (7) violation of expectations. We illustrate typical pedagogical difficulties which stem from these features, with examples drawn from the programming languages ABC, Ada, C, C++, Eiffel, Haskell, LISP, Modula 3, Pascal, Prolog, Scheme and Turing. We propose seven language design (or selection) principles which may reduce the incidence of such undesirable features: (1) start where the novice is; (2) differentiate semantics with syntax; (3) make the syntax readable and consistent; (4) provide a small and orthogonal set of features; (5) be especially careful with I/O; (6) provide better error diagnosis; and (7) choose a suitable level of abstraction.
机译:讨论了许多用于初学者学习的编程语言共有的七个不良特性:(1)少即是多; (2)越多越好; (3)语法陷阱; (4)硬件依赖性; (5)向后兼容; (6)过于机灵; (7)违反期望。我们举例说明了源自这些功能的典型教学困难,并举例说明了编程语言ABC,Ada,C,C ++,Eiffel,Haskell,LISP,Modula 3,Pascal,Prolog,Scheme和Turing。我们提出了七种语言设计(或选择)原则,可以减少此类不良特征的发生:(1)从新手入手; (2)用语法区分语义; (3)使语法可读且一致; (4)提供小的正交特征集; (5)在输入/输出时要特别小心; (6)提供更好的错误诊断; (7)选择合适的抽象级别。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号