Thread: If statements
View Single Post
Old 09-19-2002, 02:17 PM   #9 (permalink)
kenshi
Registered User
 
kenshi's Avatar
 
Join Date: Jun 2002
Location: Antarctica
Posts: 43
kenshi is on a distinguished road
Send a message via ICQ to kenshi
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.
kenshi is offline   Reply With Quote