lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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.