Computer Science Canada Function help |
Author: | jafa401 [ Mon Aug 10, 2009 9:12 pm ] | ||
Post subject: | Function help | ||
How do i shorten/ make my code more efficient. Many thanks Thanks
|
Author: | wtd [ Mon Aug 10, 2009 11:22 pm ] |
Post subject: | RE:Function help |
First important note: short code is not necessarily more efficient. The first thing you could do is either comment your code, or better yet, use more meaningful variable names. Keep in mind that there's no need to use short variable names, and no need to use prefixes or suffixes to indicate variable type. As it is, I am not sure what your function is intended to actually do. |