this post was submitted on 24 Feb 2026
622 points (97.7% liked)

Programmer Humor

30160 readers
1576 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 6 days ago* (last edited 5 days 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.