double qoutes , because string interpolation is a usual task.
I use " most of the time(please post why)
I use ' most of the time(please post why)
I use both/ I use " to .../ I use ' to ...(please post where you use it, and why)
double qoutes , because string interpolation is a usual task.
I use " when typing strings and ' when using characters.
Yes, I come from Java.
I forgot to say I use ' most of my time.
I only use " when:
Code:print("hello")
Intel E6300 / MSI P4M890M / 2GB DDR2 677 / 80GB + 1TB SATA2 / GeForce 6200TC / DL DVD+-RW / Dell 24" U2410
Worst use of single quote for me is in VisualBasic: it starts comments till end of line. Horrible idea.
I tend to mix... My java and perl background mean I use double most of the time. Sometimes I'll use single for characters or strings that I consider to be pretty constant, but that's down to a very tenuous line in my head.
In short: Most of the time I use double - but there is a place for single in my world.
Aoife
I use single quotes because with my keyboard layout it requires less keystrokes (just press ' instead of shift + ' for ").
Less key strokes and same string character as SQL.
Bookmarks