Submitted Questions

  • 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

    Sachin

    • Jun 21st, 2014

    Single quotes will print the statement as a literal but double quotes prints the value for the variables also.....

    mart0

    • Feb 5th, 2014

    Single quotes for performance, no matter if there are variables or not!