in reply to Writing code that looks nice

The ultimate aim is for code that works. As long as anyone who needs to maintain the code understands it, then any style is fine by me.

My personal preference tends towards minimalist code (print if -d;) simply as there's less likelihood of a typo! ;-)