From: matt@... (matt neuburg) Date: 2009-02-22T02:24:35+09:00 Subject: why not check for nil? A post I ran across on a rails forum reads: "Warning! DO NOT test for nil! This is a very bad coding practice. You can use "if obj", but do not use "if obj.nil?" or whatever." Is that generally true? Why? m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com