View Poll Results: Single quotes or double quotes?
- 90. You may not vote on this poll
Results 1 to 25 of 72
Thread: Quoting strings: what do YOU do?
Sep 30, 2008, 14:48 #14
- Join Date
- Mar 2008
- NP, New Zealand
- 0 Post(s)
- 0 Thread(s)
Efficient from a processing point-of-view, maybe.
However, I think your first example is more efficient from a maintenance/understanding point of view. The blue coloured variables stand out easily so it's plain to see where they are used - when they are disguised in the string it is much harder to find them. This is more apparent when working with unfamiliar code.