Aspects


vs


Double-quotes

Questions related to the use of double-quotes in different programming languages.

Single-quotes

Questions related to the use of single-quotes in different programming languages.

Others

Example

Another side note single-quotes inside xpath string looks a bit tidier than escaped double-quotes imo

from question  

How to delete node in XML file that has text content == var1 and a parent node with an attribute == var2 using XPathExpression in Java?

First you can use double-quotes or q it just takes more work than single-quotes or q

from question  

How can I declare these as string?

Just a quick follow-up on this -- on windows you need to use double-quotes and not single-quotes throughout the command line;single-quotes are just considered part of the value so the above would send client_id instead of client_id

from question  

Missing client_id or access_token URL parameter for realtime subscriptoin

Makes first i d recommend using single-quotes around the variable itself easier to preserve double-quotes in the actual html code

from question  

How to assign a block of html code to a javascript variable

Back to Home
Data comes from Stack Exchange with CC-BY-SA-4.0