News for hackers. Stuff that matters.
Re:Most Pressed Keys and Programming Syntaxes by shasta on Wednesday July 11, 2012 @11:29PM (#4232831)
One question is why the Lisp code doesn't use the letter E as much as every language? Is that just due to normalizing of parentheses?
Re:Most Pressed Keys and Programming Syntaxes by chacham15 on Thursday July 12, 2012 @01:46AM (#4233222)
While I do not know standard lisp, according to my memory of scheme the following list of c keywords containing the letter 'e' exist in scheme: while.

while the following do not: break, case, continue, default, double, else, enum, extern, register, return, signed, sizeof, typedef, unsigned, volatile

Re:Most Pressed Keys and Programming Syntaxes by PerryCox on Wednesday July 11, 2012 @11:34PM (#4232846)
It probably gets used about the same amount as the other languages, it's just that the parentheses get used an insane amount and outweigh all the other characters.
Re:Most Pressed Keys and Programming Syntaxes by waterlesscloud on Wednesday July 11, 2012 @11:45PM (#4232893)
It might be more interesting to see these with the vowels factored out.
Re:Most Pressed Keys and Programming Syntaxes by waterhouse on Thursday July 12, 2012 @03:25AM (#4233484)

  ~ $ curl -s 'http://lib.store.yahoo.net/lib/paulgraham/onlisp.lisp' | egrep -o '.' | sort | uniq -c | sort -nr
  18641  
  3277 )
  3276 (
  2561 e
  2159 a
  1934 s
  1903 r
  1672 n
  1661 t
  1477 l
  1380 o
  1287 c
  1282 d
  1067 p
  1064 i
  1030 m
  [...]
Without vowels:

  18641  
  3277 )
  3276 (
  1934 s
  1903 r
  1672 n
  1661 t
  1477 l
  1287 c
  1282 d
  1067 p
  1030 m
   929 f
   852 b
   654 ,
   601 g
  [...]
Re:Most Pressed Keys and Programming Syntaxes by nathan_long on Thursday July 12, 2012 @07:20AM (#4234001)
> 3277 ) > 3276 (

My first thought: 'unmatched paren?'

But I bet there's a smiley face on that page somewhere.

EDIT: If there is, I don't see it.

Re:Most Pressed Keys and Programming Syntaxes by ordinary on Thursday July 12, 2012 @08:41AM (#4234200)

  (let ((rpar (get-macro-character #\) )))
Escaped. :)