Difference between revisions of "Minimizing your Script"

189 bytes added ,  21:56, 23 November 2008
no edit summary
imported>Halo112358
(added best practices section discussing early return calls vs if blocks)
imported>KyleWollaston
 
(some extremely long code block)
end</pre>
 
You can also do this:
 
<pre>;; optimized 2
 
begin GameMode
if (some condition)
if (some condition) == 0
return
endif
(some extremely long code block)
endif
end</pre>