User:Merlin11188/Good Code: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
→‎Efficient Code: Small inaccuracy fix (I do these a lot, don't I?)
>Merlin11188
(Just some general updates. I violated my own suggestions and had to fix the example...)
>Merlin11188
(→‎Efficient Code: Small inaccuracy fix (I do these a lot, don't I?))
 
Line 182: Line 182:
}}
}}


I know the code in the second example isn't much shorter, but it avoids creation of a useless code block (if ... end) and is much neater to look at.
The second example is much shorter, much easier to understand, and much nicer to look at.
Anonymous user

Navigation menu