this post was submitted on 20 Aug 2023
22 points (100.0% liked)

Programmer Humor

19197 readers
1140 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 0 points 1 year ago (2 children)

Lmao me commenting my 14 line bash script, comments almost as long as the script itself.

I have a habit of forgetting "why'd I put this there" and at least with my scripts I can leave myself a note for future me.

[–] [email protected] 1 points 1 year ago (1 children)

The highest comment-to-code ratio I ever wrote was a CMD script that had to combine three different escaping conventions.

It was a good day when I got to throw that one away.

[–] [email protected] 1 points 1 year ago

Adding the fourth, ultimate escape to it.

[–] [email protected] 1 points 1 year ago

Well, bash scripts are infamous for being arcane so commenting abundantly is better than nothing.