{"id":3279,"date":"2013-09-14T19:18:27","date_gmt":"2013-09-15T02:18:27","guid":{"rendered":"http:\/\/g-liu.com\/blog\/?p=3279"},"modified":"2015-12-22T14:26:24","modified_gmt":"2015-12-22T22:26:24","slug":"reblog-programming-languages-by-heatmap","status":"publish","type":"post","link":"https:\/\/g-liu.com\/blog\/2013\/09\/reblog-programming-languages-by-heatmap\/","title":{"rendered":"Reblog: Programming languages by heatmap"},"content":{"rendered":"<p><em>This article originally appeard on<a href=\"http:\/\/www.mahdiyusuf.com\/\" target=\"_blank\"> Mahdi Yusuf&#8217;s<\/a> blog. It was originally titled <a href=\"http:\/\/web.archive.org\/web\/20131010002122\/http:\/\/www.mahdiyusuf.com\/post\/9947002105\/most-pressed-keys-and-programming-syntaxes-2?b65519d8\" target=\"_blank\">Most Pressed Keys and Programming Syntaxes<\/a>.<\/em><\/p>\n<hr \/>\n<p><a title=\"7 September, 2011\" href=\"http:\/\/web.archive.org\/web\/20150602035004\/http:\/\/www.mahdiyusuf.com:80\/post\/9947002105\/most-pressed-keys-and-programming-syntaxes-2?\">7th September, 2011<\/a><\/p>\n<p>I switch between programming languages quite a bit; I often wondered what happens when having to deal with the different syntaxes, does the syntax allow you to be more expressive or faster at coding in one language or another. I dont really know about that; but what I do know what keys are pressed when writing with different programming languages.<\/p>\n<p>This might be something interesting for people who are deciding to select a programming language might look into, here is a <a title=\"What programming languages should I learn?\" href=\"http:\/\/web.archive.org\/web\/20151018221422\/http:\/\/www.mahdiyusuf.com\/post\/3279728032\/solved-what-programming-languages-should-i-learn\" target=\"_blank\">post<\/a> on the answer to the aged question of: Which programming language should I learn?<br \/>\n<!--more--><br \/>\nAs far as I can tell languages with a wider focused spread across the keyboard are usually syntaxes we usually associate with <a title=\"Which Programming Languages Make You Cuss More\" href=\"http:\/\/www.webmonkey.com\/2011\/02\/cussing-in-commits-which-programming-language-inspires-the-most-swearing\/\" target=\"_blank\" class=\"broken_link\" rel=\"nofollow\">ugly languages<\/a> (ugly to read and code). <em>ex. shell and perl.<\/em><\/p>\n<p>You might argue that the variables names being used will alter the results, but as most languages programming have conventions for naming but we can assume a decent spread for variable names. I don\u2019t offer conclusions, just poorly layout the facts. Although the heat map does miss out on things like shift and caps. <em>ex. in perl with the dollar sign. ($)<\/em><\/p>\n<p><em><a href=\"http:\/\/en.wikipedia.org\/wiki\/Whitespace_%28programming_language\" target=\"_blank\" class=\"broken_link\" rel=\"nofollow\">Whitespace<\/a> hasn\u2019t been taken into consideration (tabs and spaces) which would have been a cool thing to see.\u00a0<\/em><\/p>\n<p>The data that was used to gather this information was spread amongst various popular Github projects.<\/p>\n<h2>Javascript<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qtxBJbJ1qd12yo.png\" \/><\/p>\n<h2>Shell<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qujXgS11qd12yo.png\" \/><\/p>\n<h2>Java<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qvaLbKR1qd12yo.png\" \/><\/p>\n<h2>C<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qvwAZAj1qd12yo.png\" \/><\/p>\n<h2>C++<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qw8DdVD1qd12yo.png\" \/><\/p>\n<h2>Ruby<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qxmVW6t1qd12yo.png\" \/><\/p>\n<h2>Python<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qy4gDIl1qd12yo.png\" \/><\/p>\n<h2>PHP<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qyh1xVt1qd12yo.png\" \/><\/p>\n<h2>Perl<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qyvfYPl1qd12yo.png\" \/><\/p>\n<h2>ObjC<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr6qzggeh91qd12yo.png\" \/><\/p>\n<h2>Lisp<\/h2>\n<p><img decoding=\"async\" alt=\"\" src=\"http:\/\/media.tumblr.com\/tumblr_lr7k02vX6q1qd12yo.png\" \/><\/p>\n<p>Lisp code <a href=\"http:\/\/ep.yimg.com\/ty\/cdn\/paulgraham\/onlisp.lisp\" target=\"_blank\" class=\"broken_link\" rel=\"nofollow\">here<\/a> was written by Paul Graham.<\/p>\n<h3>References<\/h3>\n<ol>\n<li>heatmap.js\u00a0<a href=\"http:\/\/www.patrick-wied.at\/projects\/heatmap-keyboard\/\" target=\"_blank\">http:\/\/www.patrick-wied.at\/projects\/heatmap-keyboard\/<\/a><\/li>\n<\/ol>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content --><!-- AddThis Related Posts generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>This article originally appeard on Mahdi Yusuf&#8217;s blog. It was originally titled Most Pressed Keys and Programming Syntaxes. 7th September, 2011 I switch between programming languages quite a bit; I often wondered what happens when having to deal with the different syntaxes, does the syntax allow you to be more expressive or faster at coding in one language or another. &#8230;<!-- AddThis Advanced Settings generic via filter on wp_trim_excerpt --><!-- AddThis Share Buttons generic via filter on wp_trim_excerpt --><!-- AddThis Related Posts generic via filter on wp_trim_excerpt --><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"#Reblog: Programming languages by heatmap","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[830,188],"tags":[],"jetpack_publicize_connections":[],"aioseo_notices":[],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p2Zt3y-QT","_links":{"self":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts\/3279"}],"collection":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/comments?post=3279"}],"version-history":[{"count":6,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts\/3279\/revisions"}],"predecessor-version":[{"id":5477,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/posts\/3279\/revisions\/5477"}],"wp:attachment":[{"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/media?parent=3279"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/categories?post=3279"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/g-liu.com\/blog\/wp-json\/wp\/v2\/tags?post=3279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}