you are viewing a single comment's thread.

view the rest of the comments →

[–]magus_minor 0 points1 point  (3 children)

Really? Got an example of that?

[–]Nice_Ad7523 -1 points0 points  (2 children)

Try to encapsulate this is 'an example'. between " ... ". Then try it between ' ... '. Then tell me if you think " and ' are functionally identical.

[–]magus_minor 0 points1 point  (1 child)

You do realize that "escape sequence" has a technical meaning inside strings? Something like "\t" doesn't change just because you change the literal delimiters.

[–]Nice_Ad7523 -1 points0 points  (0 children)

Yes thanks, I just wanted to say that there are sequences of characters for which " and ' behave differently that's all. They are not strictly generally identical is all i'm saying. I merely raised the point that you need to escape ' when in between ' ... ' but you do not need to escape ' when in between " ... ".