[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: single quotes vs. double quotes
- From: steve donovan <steve.j.donovan@...>
- Date: Mon, 12 Oct 2009 17:40:29 +0200
On Mon, Oct 12, 2009 at 4:31 PM, Dolphin <dhawkins@netstreams.com> wrote:
> In my own code I use them to indicate a semantic difference, namely " means a
> string that should be localized and ' is an internal string literal. This
> makes it easy to search through the code.
That's a good use of consistency.
Sometimes you will also see code with localized strings written as
L"hello" or _"hello", which works if L or _ is a function returning
the localized version at runtime.