|
It's all about preference. The first method is easier to read (to most people) and is more of a standard. The second method is probably slightly faster. (You'd have to pass through that bit of code thousands of times per second just for it to be slightly noticeable even on a 486 though.) I'd say use the second choice on your own programs if you like it better, but if you're going to get people to help you code, or you're doing it for a business, go with the first.
|