Showing posts with label Would you initialize your strings with single quotes or double quotes?. Show all posts
Showing posts with label Would you initialize your strings with single quotes or double quotes?. Show all posts

Saturday, May 16, 2009

Would you initialize your strings with single quotes or double quotes?

Since the data inside the single-quoted string is not parsed for variable substitution, it’s always a better idea speed-wise to initialize a string with single quotes, unless you specifically need variable substitution.