View Single Post
08-18-08, 09:30 PM   #13
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
Originally Posted by kerrang View Post
It's returning nil tho - which is FALSE
For the record, nil is not false. Type this into any Lua interpreter:

print(nil == false)

And you will find that the result is "false"

Originally Posted by kerrang View Post
All I can really take from this is that you people are extremely forgiving of what, in commercial IT, would be code of a quality which would get you sacked
That's funny. I thought Blizzard was a commercial company. I guess they're non-profit actually. Makes you wonder how much of a tax break they get on those 10 million subscribers. (As a side note, you might consider this: With 10 million subscribers, and several thousand of them doing nothing but coding, you would think they must be doing something right....)

On a similar note, just because the API does not do what you expect does not make it broken. Similarly, just because it does not do what wowwiki says it will do does not make it broken. Only Blizzard truly knows what each function does. The documentation we see is mostly done through reverse engineering, which, even through the strictest practices, is never 100% correct.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/

Last edited by Shirik : 08-18-08 at 09:32 PM.