Dan Bron wrote:
> 
> This is pretty cool: keyboard heatmaps of the most pressed keys in various
> programming languages:  
> 
>       
> http://www.mahdiyusuf.com/post/9947002105/most-pressed-keys-and-programming-
> syntaxes
> 
> (I found this via @SansMouse on Twitter, which is pretty useful to follow,
> if you're a keyboard jockey like I am).
> 
> Also, you can generate your own keyboard heatmap, given a representative
> text:
> 
>       http://www.patrick-wied.at/projects/heatmap-keyboard/
> 
> I plugged in my J utilities script, sans comments, and the result was
> interesting.  Some parts were unsurprising (dots and colons scored high),
> but others weren't totally expected.  For example, even without comments
> (i.e. scoring only J code, not English), 'e' ranked pretty high.  Also, my
> paren keys were almost as "hot" as the ones in the Lisp heatmap.  Though,
> I
> suppose, my script shouldn't really be considered representative as J as a
> language, so much as the ramblings of a tacit weirdo. 
> 
> What script can/should we use to generate a heatmap for J, that fairly
> represents the language as typically written?  I'd like to share it back
> with the maintainer of the comparative heatmaps page.
> 
> -Dan
> 
> PS:  One improvement I would like to see in the heatmap generator is
> indications of the metakeys: I bet J would score a lot higher on SHIFT
> than
> a lot of other languages.
> 
> 
There's one thing though: what about editors?
I think most of the typing in most of programming languages
goes through editors, and even if it's through readline, there are
vi/emacs bindings as well.  So what I'd like to see is a 
comparative heat map for, let's say, a program in language X
written in emacs/vi/other editor of choice.   No doubt dot,
column, slash, Ctrl/Shift/Meta etc would go up in frequency.
My long time favorite vi command is .  Now, I use it less when I
write in J than, say, LISP, but all the same there are now more
literal dots to type, so go figure.   Then we could move on
to the real though questions, like: in which language Backspace/Del 
& Associates are used most :-)

-- 
View this message in context: 
http://old.nabble.com/Heatmaps-of-most-pressed-keys-in-various-programming-languages-tp32448726s24193p32449064.html
Sent from the J Chat mailing list archive at Nabble.com.

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to