Thread Tools Display Modes
05-16-14, 05:05 PM   #1
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
Concerning Zonide's Scouter

I want to ask your opinions about Zonide's Scouter, more specifically about the addon's code.

I think the author spent a lot of work on it and takes it seemingly very serious. But there are a few things off, for example there are a lot of leaking globals. He said he's open to advice (on MMO-Champion), but might disagree on stuff.

http://www.mmo-champion.com/threads/...nide-s-Scouter
http://wow.curseforge.com/addons/zonides-scouter/files/
Originally Posted by Zonide
OH! I almost forgot (again), if anyone reading this has any suggestions for changes or additions to the addon, I am willing to listen and consider them.

Last edited by Ketho : 05-16-14 at 05:13 PM.
  Reply With Quote
05-16-14, 06:05 PM   #2
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Re: globals, "a lot" seems to be an understatement... pretty much everything is a global, he's using a lot of meaningless gibberish variable names, inconsistent indentation makes the code unnecessarily annoying to read, he doesn't seem aware that you can reuse a function instead of creating it over and over again, etc. I would refuse to use this addon on general principle because of how ugly its code is.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote
05-17-14, 02:24 PM   #3
Vlad
A Molten Giant
 
Vlad's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2005
Posts: 793
It's ok, Phanx. Just imagine how many don't know lua and love this addon! Regardless of the leaking globals!
__________________
Profile: Curse | Wowhead
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Concerning Zonide's Scouter

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off