Most Pressed Keys and Programming Syntaxes
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.
This might be something interesting for people who are deciding to select a programming language might look into, here is a post on the answer to the aged question of: Which programming language should I learn?
As far as I can tell languages with a wider focused spread across the keyboard are usually syntaxes we usually associate with ugly languages (ugly to read and code). ex. shell and perl.
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’t offer conclusions, just poorly layout the facts. Although the heat map does miss out on things like shift and caps. ex. in perl with the dollar sign. ($)
Whitespace hasn’t been taken into consideration (tabs and spaces) which would have been a cool thing to see.
The data that was used to gather this information was spread amongst various popular Github projects.
Javascript
Shell
Java
C
C++
Ruby
Python
PHP
Perl
ObjC
Lisp
Lisp code here was written by Paul Graham.
- heatmap.js http://www.patrick-wied.at/projects/heatmap-keyboard/
- Follow me @myusuf3
- RSS www.mahdiyusuf.com/rss
Lisp is kinda nuts. Friggin’ brackets, man.
468 Notes/ Hide
- ovominion-blog liked this
- borismedia liked this
- no-know-no liked this
- cristalclouds liked this
- f9b liked this
- fromasouthernstate liked this
- starlightskydancer-blog-blog liked this
- electric-coffee liked this
- senefra liked this
- dimitry-novikov reblogged this from dustyprogrammer-blog
- deutschspb-blog liked this
- ghostlygrape reblogged this from guavi
- maskindg liked this
- kekandie liked this
- nitroyogi-blog reblogged this from dustyprogrammer-blog
- takuyaki3 reblogged this from dustyprogrammer-blog
- ashudave liked this
- waver3r liked this
- treurmars liked this
- ademilter liked this
- ktsujister liked this
- drtomcrick reblogged this from dustyprogrammer-blog
- tuxedocat-log reblogged this from dustyprogrammer-blog
- meubpic liked this
- ukar reblogged this from dustyprogrammer-blog
- aomashinku-blog reblogged this from dustyprogrammer-blog
- interglacial reblogged this from dustyprogrammer-blog and added:
やっぱりeが多いのはホームズの言うとおりですな。オチのLispは流石ですな!LaTeXだとどうなるんだろ。
- gregorynicholas liked this
- odgw reblogged this from dustyprogrammer-blog
- nerimemo-blog reblogged this from dustyprogrammer-blog
- swiety liked this
- domon reblogged this from dustyprogrammer-blog
- domon liked this
- braindead reblogged this from dustyprogrammer-blog and added:
http://www.mahdiyusuf.com/post/9947002105/most-pressed-keys-and-programming-syntaxes-2 “interesting”
- infornateci-blog-blog reblogged this from dustyprogrammer-blog
- arvindravi reblogged this from dustyprogrammer-blog
- internet-tragedy liked this
- klemheist-blog liked this
- dustyprogrammer-blog posted this
- Show more notes