this post was submitted on 24 Feb 2026
588 points (97.6% liked)

Programmer Humor

30700 readers
2242 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Appoxo@lemmy.dbzer0.com 3 points 1 month ago* (last edited 1 month ago)

Coming from powershell scripting, every string is put in quotes and to be printed strings with variables are put in $($var) (e.g. Write-Host "Example-Issue: $($IssueVariable)")
Saves me the trouble of hoping that $IssueVariable isnt interpreted as a string butbas a variable by PowerShell.