InterviewSolution
Saved Bookmarks
| 1. |
Would You Initialize Your Strings With Single Quotes Or Double Quotes? |
|
Answer» 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. 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. |
|