Alfredo Braunstein <[EMAIL PROTECTED]> writes: | But note that there is more code inside that if block, so you cannot remove | the "if". And > | if (d <= best_dist) { | best_dist = min(best_dist, d); | ... > | does look silly (to me).
sure. > >> | If I read such code I always mentally translate it to the other version. >> | So at least for me this is certainly less readable. >> >> I am the opposite end. >> And especially this last one where you can keep w const and initialize >> once. > | I agree with Lars here. (still, I think that there are more interesting | things to do than to discuss these details ;-) "The Devil is in the details." -- Lgb