View Single Post
05-29-10, 11:11 AM   #264
Torhal
A Pyroguard Emberseer
 
Torhal's Avatar
AddOn Author - Click to view addons
Join Date: Aug 2008
Posts: 1,196
I come from a C and C++ background as well, but broke myself of the habit rather quickly - I just think of Lua in natural-language terms...

Code:
if not insane then RunAway() end
versus

Code:
if (!crazy) {
    do_flee();
}
Code examples can be rather interesting when first waking up.
__________________
Whenever someone says "pls" because it's shorter than "please", I say "no" because it's shorter than "yes".

Author of NPCScan and many other AddOns.
  Reply With Quote