this post was submitted on 24 Aug 2025
281 points (97.6% liked)
Programmer Humor
37976 readers
17 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, you could very well argue that JS and others that use it for weird interpolated strings are the weird ones here.
On the other hand, interpolated strings are fucking awesome and you need them every 5 seconds for UI work
Sure, but in Perl and other languages there is a difference between
"$foo"
and'$foo'
. In that the first expands the value offoo
, while the other doesn't.But usually if you need to write stuff in noisy strings, just use printf/sprintf. Or a <<HERE block.