lua-users home
lua-l archive

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


On 2013-02-08 1:13 PM, "Enrico Colombini" <erix@erix.it> wrote:
>
> On 08/02/2013 18.56, steve donovan wrote:
>>
>> Being a lazy guy, I pick the single quotes since they're
>> easier to type, but other people are much more organized ;)
>
>
> I refute the accusation of being much more organized, but I usually reserve " for printable strings (e.g. the 'user side') and ' for program strings such as patterns, identifiers, etc.
>
> (this can also be useful when searching for strings to be localized 'after the fact')
>
> --
>   Enrico
>

One of the few things I liked about PHP was that single and double quotes had different meanings: variable interpolation would be performed only on double quoted strings.