osdir.com


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

Strings: double versus single quotes


>>> I am asking myself if I should preferably use single or double
>>> quotes for strings?
...

> I agree to the following:
> 
> 1. Consistency is important.
> 2. Single quotes are less noisy.
> 3. Triple double quotes are to be preferred over triple single quotes.
...

> Of course, this is my subjective result, and others (may) have
> different opinions.

4. unless a specific objective of a re-factoring exercise, maintain the 
conventions used within the code.

5, adhere to the conventions/standards/requirements of the dev.team or 
organisation.

-- 
Regards =dn