《JavaScript编程精解》的原文摘录

  • 【原文】 子曰:“不愤不咎,不悱不发。举一隅不以三隅反,则不复也。” 【译文】 孔子说:“不到他努力想弄明白而不得的程度不要去开导他;不到他心里明白却不能完善表达出来的程度不要去启发他。如果他不能举一反三,就不要再反复地给他举例了。” 【评析】 这里是孔子介绍了他在教育方面的体会,他并不觉得一个老师一言堂地给学生灌输就能有好的教学效果,而是觉得关键在于怎样启发学生自己去思考和琢磨。不是让老师替学生去举一反三、反复列举,而是启发学生去举一反三、触类旁通。要做到这一点,就必须坚持一个原则:不要轻易地把答案告诉学生,也不要过多地替学生思考,更不要给学生灌输标准答案。我想这是值得我们今天的老师在教学中思考和借鉴的。 聪明的老师在向学生教授新课的时候,往往从提问或做游戏开始,那样一方面容易能集中学生的思想,另一方面也能启发学生的思维。如果只是单纯地将现成的答案灌输给学生,学生往往只知其然,不知其所以然,更加会缺乏灵活运用和独立思考的能力。 又比如你在读这本书的时候,千万不要以为这里的译文和评论分析就是唯一的答案,你也可以试着从另外的角度来理解《论语》的原文。如果你善于开动脑筋勤思考,往往会有意外的发现和惊喜。 (查看原文)
    容貌焦虑主理人 1赞 2012-12-23 21:36:39
    —— 引自第2页
  • I do not enlighten those who are not eager to learn, nor arouse those who are not anxious to give an explanation themselves. If I have presented one corner of the square and they cannot come back to me with the other three, I should not go over the points again. ― Confucius (查看原文)
    Jing 2013-02-05 19:20:28
    —— 引自第2页
  • Consider this puzzle: By starting from the number 1 and repeatedly either adding 5 or multiplying by 3, an infinite amount of new numbers can be produced. How would you write a function that, given a number, tries to find a sequence of additions and multiplications that produce that number? (查看原文)
    Kane 1回复 2011-03-23 12:54:22
    —— 引自第35页
  • The programmer who refuses to keep exploring will surely stagnate, forget his joy, lose the will to program (and become a manager). (查看原文)
    阿男 2012-08-22 01:43:54
    —— 引自章节:Introduction
  • 如果表匠技艺精湛 and if the watch-maker was any good, (查看原文)
    容貌焦虑主理人 2012-12-23 21:41:07
    —— 引自章节:V
  • 创建一个值,不需要建筑材料,也不用花钱。 (查看原文)
    容貌焦虑主理人 2012-12-24 00:16:42
    —— 引自第1页
  • This is what 144 might look like in bits: 144用比特位来表示大概就是这样: (查看原文)
    容貌焦虑主理人 2012-12-24 00:16:42
    —— 引自第1页
  • Strings are used to represent text. (The name supposedly derives from the fact that it strings together a bunch of characters.) (查看原文)
    容貌焦虑主理人 2012-12-24 00:28:24
    —— 引自第3页
  • 很多人认为这是JavaScript设计者的小失误,新版本将增加能够定义存在于代码块内部的变量的功能。 (查看原文)
    小王 2013-12-06 15:15:11
    —— 引自第19页
  • 生成HTML的诀窍是将文档看成一种数据结构,而不是一段文本。JavaScript 提供了一种非常简单的建模方法。 (查看原文)
    Next 2014-09-01 10:11:03
    —— 引自第67页
  • JavaScript uses a fixed number of bits, namely 64 of them, to store a single number value. (查看原文)
    京宝梵Amazing 2015-07-07 22:33:06
    —— 引自章节:Values, Types, and Operators
  • function greaterThan(n) { return m => m > n; } let greaterThan10 = greaterThan(10); console.log(greaterThan10(11));/ / → true (查看原文)
    林二熱 2019-09-15 14:37:45
    —— 引自第85页