Re:Most Pressed Keys and Programming Syntaxes
by troxy on Thursday September 08, 2011 @09:03PM
(#2976345)
Do you know why you have slightly different numbers of (){}[] characters? In C or C++ shouldn't those all be paired up to match?
[ Parent
| on HN ]
Re:Most Pressed Keys and Programming Syntaxes
by zeteo on Thursday September 08, 2011 @09:22PM
(#2976382)
It can probably be accounted for by comments (e.g. people sometimes comment out half a block). Although the comments should be left out, so as not to mix the C and the English.
Re:Most Pressed Keys and Programming Syntaxes
by alextgordon on Friday September 09, 2011 @01:47AM
(#2977007)
Also string and character literals. It's common to write something like
if (c == '{')
and not need to test for the matching one.