View Single Post
03-28-22, 12:17 AM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,327
I honestly prefer using verbose messages over inserting random nils in where I expect a list. Even if said list is empty. Perhaps if you kept track if the loop has printed anything and at the end, saying "List is empty" if it hasn't printed anything. Using indents, even in your output can give more info on the structure of data being examined too.
__________________
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)
  Reply With Quote