lua-users home
lua-l archive

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


I generally prefer single-quotes for strings that will be interpreted by code, and double-quotes for strings that will be presented to the user.

Nevin

On Sep 4, 2010, at 10:40 AM, 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.
> 
> -- 
> Sent from my toaster.
>