lua-users home
lua-l archive

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

On 04/09/2010 16.40, HyperHacker wrote:
Just curious what are some peoples' conventions for when to use
'single quotes' vs "double quotes" for inline strings. I find myself
randomly using either style, but as they show up differently in my IDE
I feel like I should be assigning some type of meaning to them, such
as internal vs displayed text, short vs long strings, etc.

I generally use double quotes for user-side strings, single quotes for program-side strings, whatever that means in the context of a given application.