找回密码
 FreeOZ用户注册
查看: 2866|回复: 3
打印 上一主题 下一主题

[论坛技术] [转,老帖了]【外刊IT评论网】敲击最多的键和编程语言语法

[复制链接]
跳转到指定楼层
1#
发表于 18-3-2012 19:16:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?FreeOZ用户注册

x
<div class="sMB5lf" style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); ">lisp的括号相当猛啊, perl 还只是$多一点.</div><div class="sMB5lf" style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif; font-size: 13px; line-height: 18px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); "><b style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; "><a href="http://www.aqee.net/most-pressed-keys-and-programming-syntaxes/" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">【外刊IT评论网】敲击最多的键和编程语言语法</a></b> - <a href="http://www.aqee.net/" class="ot-origin-anchor" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">外刊IT评论网</a></div><span class="eIQG7d" style="font-family: 'WenQuanYi Micro Hei Mono', 'WenQuanYi Micro Hei', 'Microsoft Yahei Mono', 'Microsoft Yahei', sans-serif; display: block; margin-bottom: 6px; overflow-x: hidden; overflow-y: hidden; font-size: 13px; line-height: 18px; text-align: -webkit-auto; background-color: rgb(255, 255, 255); ">本文是从 <a href="http://www.mahdiyusuf.com/post/9947002105/most-pressed-keys-and-programming-syntaxes" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">Most Pressed Keys and Programming Syntaxes</a> 这篇文章翻译而来。<hr><p>我研究过很多编程语言;我经常的好奇于在面对这些不同的语法时,编程过程会有哪些不同,一种不同的语法会让<wbr>你更富有表达性或编码速度的更快吗?我并不知道,我知道的只是在使用不同的语言时你都敲击了哪些键盘上的键<wbr>。</p><p>这也许是那些不知道该学习使用哪种编程语言的人会感兴趣的事。据我的认识,键盘使用分布越广的语言通常是设<wbr>计的很糟糕的语言。</p><p>你也许会争辩说,程序中变量名的取法会影响统计的结果。可是,大部分编程语言都有自己的命名习惯,我们可以<wbr>假设这些变量的命名都很正常。不过,在下面的热点图中,有些键被忽略掉了,比如Shift和Caps键。<em>在<wbr>perl里会大量使用美元符号($)</em></p><p>空格符也没有计算在内。</p><p>用于统计的程序是来自于Github上一些很流行的项目。</p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Javascript</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qtxBJbJ1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Shell</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qujXgS11qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Java</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qvaLbKR1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">C</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qvwAZAj1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">C++</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qw8DdVD1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Ruby</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qxmVW6t1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Python</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qy4gDIl1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">PHP</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qyh1xVt1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Perl</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qyvfYPl1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">ObjC</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr6qzggeh91qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><h2 style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; ">Lisp</h2><p><img src="https://0-focus-opensocial.googleusercontent.com/gadgets/proxy?container=focus&gadget=a&rewriteMime=image/*&refresh=31536000&url=http://www.aqee.net/wordpress/wp-content/uploads/2011/09/tumblr_lr7k02vX6q1qd12yo.png" alt="" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; "></p><p>Lisp代码是来自<a href="http://lib.store.yahoo.net/lib/paulgraham/onlisp.lisp" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">这里</a>的由Paul Graham所写的程序。</p><ol><li>产生这个效果图的 <a href="http://www.patrick-wied.at/projects/heatmap-keyboard/" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">heatmap.js</a> 脚本</li><li>关注作者的twitter<a href="http://www.twitter.com/myusuf3" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">@myusuf3</a></li></ol><hr>本文来自<a href="http://www.aqee.net/" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">外刊IT评论网</a>(<a href="http://www.aqee.net/" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">www.aqee.net</a>),原始地址:<a href="http://www.aqee.net/most-pressed-keys-and-programming-syntaxes/" rel="bookmark" style="color: rgb(51, 102, 204); cursor: pointer; text-decoration: none; ">敲击最多的键和编程语言语法</a></span>

[ 本帖最后由 finger|regnif 于 18-3-2012 20:44 编辑 ]
回复  

使用道具 举报

2#
发表于 18-3-2012 19:40:29 | 只看该作者
看来E是使用率最高的字母
回复  

使用道具 举报

3#
发表于 18-3-2012 20:08:16 | 只看该作者
ESC用的最多的一定是游戏狂人
回复  

使用道具 举报

4#
 楼主| 发表于 18-3-2012 20:15:25 | 只看该作者
好像perl的$被过滤了, 要不然也很猛. lisp的括号很无语.
回复  

使用道具 举报

您需要登录后才可以回帖 登录 | FreeOZ用户注册

本版积分规则

小黑屋|手机版|Archiver|FreeOZ论坛

GMT+11, 17-11-2024 07:00 , Processed in 0.032785 second(s), 20 queries , Gzip On, Redis On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表