Quote:
Originally Posted by cbkbud
Length of script and effective code have absolutly no corrolation at all.
|
This is true, but in the tone you implied this, you falsely accused Dusty of saying efficient = short, which he did not, all he said, and I quote.
Quote:
Originally Posted by DustyPorViva
With coding/scripting, it should be a practice to make codes/scripts as efficiently short as possible.
|
In which, as read by laws of grammar, he is requesting you shorten the code efficiently, as in, if shortening the code requires you to be inefficient, do not shorten it.
Also, as the others said, you cannot only get your words out and end an argument. If they want to just not respond back, that is okay, but I definately wouldn't demand it end one sided, unless the argument had a clear one side in the first place.
At this point, a big nonsense argument ensued. Lately, it seems every thread is all about an argument, and it is wearing my patience thin. Enough.
Anyway, back on topic, Andrew, this is a fine example ^_^. There are little things you can do to optimize it, like only update the sprite you need to, instead of the whole thing, but since you aren't running a timeout anyway, this would save a negligible amount of processing power, so IMHO it is fine as is.
I personally would not have done the array thing, but my personal preference does not make it wrong ^_^