this post was submitted on 02 Dec 2025
1016 points (98.7% liked)
Programmer Humor
27673 readers
759 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I was reviewing some PowerShell script today and it was absolutely atrocious. It's only saving grace was that it was using actual PowerShell, not some hacky wmic call or anything.
I didn't write it and I'm really glad for that. Whole lines of rewritten code commented out and just left there. Entire lines of # marks. There's no reason this should be so densely commented. Your code should be self explanatory.
There were multiple queries to the same database that was then passed through a "where-object" selector by pipe, looking for a single value (pulling a database of thousands of entries for one line).
It was disgusting.
I'm not even a developer and I thought it was horrid.