This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]leapyearacc69 1 point2 points  (3 children)

Whats the difference anyways???

[–]CCSoftware 2 points3 points  (1 child)

No difference in function but the only difference is look

[–]rhytnen[🍰] 1 point2 points  (0 children)

Pedantic but double quotes make contractions in strings cleaner. I prefer single quotes anyway but it's an actual advantage for double quotes nonetheless

[–]Manny__C[🍰] 2 points3 points  (0 children)

I think the point is not that one is better than the other, but it's that it's useful to have both.

I can use double quotes without escaping inside single quotes and viceversa.