osdir.com


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

Strings: double versus single quotes


On 22/05/2020 20:57, Manfred Lotz wrote:
> I also believe that transferring habits from C, Rust or whatever to
> Python doesn't make much sense as Python does not distinguish between a
> character and string from a type perspective.

 From a logical perspective, you are correct.  From the point of view of 
someone who writes more C code than Python, not having to remember a new 
set of habits for Python makes life a lot simpler.

Chacun ? son go?t and all that.

-- 
Rhodri James *-* Kynesim Ltd