Todd C. Miller wrote: > > if (blah) { > > size_t len; > > ... > > } else { > > size_t len; > > ... > > } > > > > looks noisy to me, so I would lean towards your latter idea. > > Yeah, I just liked len being scoped that way. However, I see other > places we really want to use a size_t for length so I suppose we > can use it elsewhere too.
fwiw, I'm all about tight scoping. Prevents the value from accidentally bleeding from one block to another.