this post was submitted on 01 Mar 2025
203 points (93.6% liked)

Programmer Humor

21280 readers
1679 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
 

Probably not a good title to seek upvotes. If it does get upvotes, more programmers get share in your pain 😅

you are viewing a single comment's thread
view the rest of the comments
[–] corsicanguppy 1 points 1 week ago (1 children)

‘code documentation’

You don't get it, and that makes me sad.

Case in stunning point: my peer retired yesterday. His last 10 years with the company was in the group with me. One of his tasks this week was to back up his daily work journal so we can refer to it.

His documentation isn't mandated but strongly encouraged, and since we're Union the boss was able to carve out time after each job for "documentation as required.". And, as we're Union, that became a check-box on the task that we all use as we do the risky shit ("snapshot taken", "starting on correct time"; just simple shit after fuckups, like how doctors now write on your body "operate on this limb"). And I had to pull it up for reference today, the day after he left and is legally not allowed to help.

His documentation is fucking gorgeous.

Honestly, it's the best thing he could have left us. "How did Benjamin do this" is almost our WWJD, because he's that good.

Please, don't bitch about having to doc your shit. Doc your shit. You'll value it one day, or your peers will. Write it like it's the fucking best gift in the world, and one day it will be. Benjamin mayyyybe saved a life today, as (vaguely) the thing that needed to do the thing to get a guy a thing got a guy a thing and then he didn't get sick as fuck and maybe die. Outside chance, but I'll take the win.

(And I took his fix and put it into the process doc as it wasn't there, and also opened a ticket to fix the thing that needs this thing, etc, and checked off my 'docco' box ;-) )

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

I was bitching about having to break the time I spent programming into 8-10 different categories, not doing the work. And undocumented code should be kicked back in the code review.