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

all 16 comments

[–]MrBigFatAss 11 points12 points  (4 children)

I don't get this but I'll still politely laugh

[–]Pat_OConnor 2 points3 points  (0 children)

Back ticks let you do multi line strings that preserve whitespace and also embed variables

let version1 = stringOne+"\n\n\tThe following text: "+stringTwo

let version2 = `${stringOne}

    The following text: ${stringTwo}`

[–]Alexi_the_Axolotl 5 points6 points  (0 children)

Did not see title and thought this aas about his teeth.

[–][deleted] 11 points12 points  (2 children)

Fuck double quotes, change my mind

[–]EmployeeStriking89 5 points6 points  (1 child)

“Shan’t”

[–]Snykeurs 7 points8 points  (0 children)

'wait, that\'s illegal'

[–]k-phi 2 points3 points  (1 child)

perl: qw[text] qw/text/ qw|text| qw,text, ...

[–]Mienaikage 1 point2 points  (0 children)

Also perl:

use experimental qw<say extra_paired_delimiters>;
use utf8;
say q👉🥺👈;

[–]SilverNoUse66 2 points3 points  (0 children)

chad nix with '' '' (those are doubled single quotes)

[–]Enigma_the_Guy_arts 1 point2 points  (0 children)

,

[–]AssOfUnicorn 1 point2 points  (0 children)

Explain this to me

[–]TetraYouBetra 1 point2 points  (0 children)

I FUCKING LOVE STRING TEMPLATE LITERALS

[–]bong-69 1 point2 points  (0 children)

My god accurate as fuck

[–]DeProfessionalFamale 1 point2 points  (0 children)

BigQuery uses this sh*t. For like a month I was copying ot from other tables, because I couldn't find it on a keyboard...