266
you are viewing a single comment's thread
view the rest of the comments
[-] Feathercrown@lemmy.world 1 points 3 days ago

On the other hand, interpolated strings are fucking awesome and you need them every 5 seconds for UI work

[-] Tanoh@lemmy.world 2 points 3 days ago

Sure, but in Perl and other languages there is a difference between "$foo" and '$foo'. In that the first expands the value of foo, while the other doesn't.

But usually if you need to write stuff in noisy strings, just use printf/sprintf. Or a <<HERE block.

this post was submitted on 24 Aug 2025
266 points (100.0% liked)

Programmer Humor

37993 readers
100 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS