You can lose this key on your keyboard and still write perfectly decent code. Which letter of the alphabet isn’t used in any of the ANSI C keywords?
[yes, I forgot ‘q’]
Unless my list of keywords is missing something, both J and Q appear to qualify.
More like “ode”, right? (-:
g: goto (seriously?)
So the answer is j and q. What’s ironic about that?
I think you’d be fine without ‘j’ or ‘q’
I really enjoy the posts on this blog.
Looks like “j” and “q” to me.
j and q.
J or Q?
(looked up a list on the web)
Is it j, q, or z?
Which *two* keys, or am I missing something?
Yeah, I got two also
Well, expanding from just keywords to all of the other characters used in the language I get this set:
As the shift key is needed for some, I added the characters for those keys that are already in there (ex: ‘^’ is in there, so I added ‘6’). Subtracting this set from the printable characters set (at least in Python’s string module) yields the J, Q, 2, 4, tab and return/enter key. Using trigraphs frees up the \, 6, 3, [, ], and ` keys.
Scratch the newline key from the first set, I remembered they’re needed to terminate preprocessor macros.
I concur, two letters.
And I’m definitely losing something because I don’t find the irony in those two letters.
None of you regularly use ‘j’ for incrementing indices?
They’re probably using ‘jj’. 🙂
I use i, j, & k as loop indices all the time (if I ever get to k, I usually know that something’s wrong with my algorithm ;-).
Also, since I use Qt, there’s no way in hell I could get by without my ‘Q’ key. 😛
Saw this again and realized: with omni complete (or similar features in IDEs) there are a lot of letters I could probably dodge. I only need to be able to start all the keywords, and it omni complete itself uses only Ctrl + X/O/N/P. Maybe not even N/P if you’re excessively careful.
But it’s a moot point, because I wouldn’t use vim without all the letters.
I learned to remap keyboard emulators back in the day, when the D key broke on the Duplix (1980’s vintage unix) system console.
Comments are closed.