|
-
April 11th, 2008, 12:31 PM
#1
remove if-else??
Hi all!
Since the switch statement doesn't work for Strings well i had to use a lot of if and else statements + equals().
I heard that lot of if-else statements make the code less efficient. I have to improve the efficiency of my code and was wondering how to replace (and with what) all those if-else statements to make my code more efficient.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|