What tricks can be used to type and edit code faster?
- by Thomas
As Jeff Atwood noted, we are typists first, programmers second. Fast typing and editing may not be essential to be a good programmer, but it certainly helps. I noticed that I consciously and subconsciously use various tricks to get my intent across to the computer as fast as possible.
What tricks can be used to type and edit code faster?
I'm hoping to collect a nice list here that we can all learn from, so that we can be ever so slightly more productive. One trick per answer please!
(This is not about typing speed in general. There are other questions about that. It's also not about general answers like "learn your editor's shortcut keys". Think of this topic as micro-optimizations for specific cases. See my own answers for examples of what I mean.)