Best way to do this?
#4

You don't need to re-check the conditions you tested for. You could simply write "else", which would stop an extra function call and variable look-up.
Reply


Messages In This Thread
Best way to do this? - by 2KY - 28.11.2012, 19:10
Re: Best way to do this? - by Vince - 28.11.2012, 19:18
Re: Best way to do this? - by 2KY - 28.11.2012, 19:31
Re: Best way to do this? - by Bakr - 28.11.2012, 19:33
Re: Best way to do this? - by 2KY - 28.11.2012, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)