in reply to Basic programming question
I don't know whether it's programmtically better. I've code like that too and I use style (B).