3 ms·
Single quotes are slightly less noisy. "this", "that", "and", "the", "other" vs 'this', 'that', 'and', 'the', 'other' However, in Ruby, PHP, Groovy, a
by paulddraper 7y ago
Single quotes are slightly less noisy.
"this", "that", "and", "the", "other"
vs
'this', 'that', 'and', 'the', 'other'
However, in Ruby, PHP, Groovy, and JavaScript single quotes have actual functional advantages, either through simpler syntax abilities, or by not requiring escaping double quotes for HTML/XML.