Hi Warren,

I prefer maintaining type consistency of what a variable or a return value will be.  
If an object is cleared, I want it to be a cleared object type.  VOID is the closest 
thing we have in Lingo.  #null is better than the integer zero but I still prefer 
VOID.  (0 would drive me
crazy.  I'd be expecting an object type, and here would be an integer type.)

To me, type consistency is a more powerful debugging aid than avoiding VOID.

(As an aside, I don't consider VOID to be uninitialized data.  Uninitialized data is 
what you get in C, when you can't tell predict what it is going to be.  In Lingo, any 
time you declare a variable, it is initialized to VOID.)

Regards,

Daniel



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to