
2 Jun
2010
2 Jun
'10
6:20 p.m.
On 2 June 2010 13:25, Stewart, Robert <Robert.Stewart@sig.com> wrote:
If all I wanted was two values, I wouldn't swap the entire header. I would do exactly what you discounted parenthetically, so the typed approach is not more efficient, it's overkill in your example.
The difference is in the error-prone-ness. With the typed one, it's free for me to type pun it, and then I pay for what I actually read. With swapping, I have a choice of swapping everything, and paying for the ones I don't use, or of only swapping the ones I do use, and risk either forgetting to swap before reading or accidentally swapping twice if I read it twice.