View Single Post
09-09-11, 03:16 AM   #8
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,313
It really comes down to programming style and system overhead. It's all a tradeoff between ease of writing code and running lightweight. It's like comparing ANSI C and VBasic.



BTW, I have been known to use this style of toggling.
Code:
frame[frame:IsShown() and "Hide" or "Show"](frame);
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 09-09-11 at 03:20 AM.
  Reply With Quote