Varible Conversion & Serial question

but cant i do the same thing in a for-loop?

I think a clue to the answer to that question comes from the observation that an experienced programmer didn't use a for loop.