Like a person playing the piano.
If your arms are resting, then your fingers and wrists are doing the maximum amount of reaching as you type. If you use a wrist rest you are encouraging your fingers/wrist to reach up (bend in your wrist) instead of neutral or reaching down (more natural position).
Straight wrists is good, but hovering like a pianist is not good for extended computer use.