in reply to To Single Quote or to Double Quote

This is a case of "say what you mean." If you mean "here is a literal string", use single quotes. If you mean "here is a string with some stuff I want you to interpolate", use double quotes. The performance difference is not enough to care about, but you should use the right one for clarity.

Replies are listed 'Best First'.
Re^2: To Single Quote or to Double Quote
by NateTut (Deacon) on Feb 01, 2005 at 20:40 UTC
    I agree. I just wonder about the performance hit on all those unnecessary "s

    Doug

      Since it is incurred at compile time, I'd venture to say that the "performance hit" wouldn't be anything to write home about.