|  |      1Ever      2013-10-02 16:50:53 +08:00 有一门中古的语言, 既有upCase, 也有lowerCase/UpperCase, 就是没有downCase :smile: | 
|      2nybux      2013-10-02 16:55:51 +08:00 日本人写的呀 | 
|  |      3ushuz      2013-10-02 16:57:17 +08:00 via iPhone 可能因为作者是日本人-er不好发音? | 
|  |      4thenewbie OP | 
|  |      6frittle      2013-10-02 17:23:15 +08:00  1 ruby并不是唯一使用upcase的语言。其实把upcase/downcase理解为upload/download一类的动词就没什么诡异的了。 | 
|  |      7wang2191195      2013-10-02 17:26:35 +08:00 createElement createTextNode :) | 
|  |      9thenewbie OP @wang2191195   没懂...你想说啥来着...@.@ | 
|  |      10046569      2013-10-02 17:28:18 +08:00 因为可以少打几个字母(大雾). | 
|  |      12Perry      2013-10-02 17:36:59 +08:00 我想直接.up、.low该多好。。 | 
|      13gihnius      2013-10-02 17:37:22 +08:00 习惯 toLower/toUpper | 
|  |      15wang2191195      2013-10-02 17:49:08 +08:00 via iPhone @thenewbie 卧槽不能叫createTextElement 或者叫createNode 么…… | 
|  |      16thenewbie OP @wang2191195 LOL | 
|  |      17binux      2013-10-02 18:41:32 +08:00  1 @wang2191195 因为TextNode继承自DataNode,既非Element,也非Node | 
|  |      18wang2191195      2013-10-02 18:50:42 +08:00 @binux 呃 那为啥不直接createText呢 :) | 
|  |      19otakustay      2013-10-02 20:35:15 +08:00  1 @wang2191195 TextNode确实是比较特殊的一个东西,类比有document.createComment,却不是commentNode,目测是因为想强调“文本在DOM中是一个节点(Node)”而起这样的名字,createText难道不应该返回一个string吗- - | 
|  |      20luikore      2013-10-02 21:06:36 +08:00 因为 perl 就是这么命名的: uc ... | 
|  |      21yukirock      2013-10-03 02:13:11 +08:00 传说中当年排活字,大写字母在上面的盒子里所以叫 uppercase,小写在下面所以叫 lowercase。 从这层来说,叫 up/downcase 或者 ^/vcase 或者 upper/lowerbox 大概都没问题…… | 
|  |      24luikore      2013-10-03 15:34:18 +08:00 |