
#323 AI search wars have begun
Python Bytes
00:00
Is There a Difference Between Single Quotes and Double Quotes?
Michael: I prefer single quotes because it's one. Your keys to press on the keyboard. The only reason I would tend to do double quotes is that in case I was embedding HTML, I really want double quotes in HTML. So if I have to say it's the second day of the week, then I want to put in apostrophe for the it's not a backslash that so I put double quotes for the string. But if I was using double quotes in the string, then I would put single quotes. There are some projects that there's a lot of quotes in there and it really, or the tradition or there, there's a ton of code already there.
Transcript
Play full episode