in reply to Writing code that looks nice
My personal preference tends towards minimalist code (print if -d;) simply as there's less likelihood of a typo! ;-)