Thread: quick question
View Single Post
  #14  
Old 09-10-2009, 12:34 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Depending on the dynamic typing system in place, 1 and 0 (stored as integers) can easily mean different things than true and false (stored as bits).

(true + true) is only possible because it dynamically changes true to 1 when you try to perform a numerical operation (addition).

It's generally good to stick to the construct utilized for a specific purpose because of the optimizations that come along with it; and even if there aren't currently optimizations, it'll suck if the optimizer gets updated and having to edit all your scripts around to get the new optimizations.
Reply With Quote