this post was submitted on 17 Jan 2025
256 points (96.4% liked)

Programmer Humor

19987 readers
1668 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
 
top 5 comments
sorted by: hot top controversial new old
[–] Alexstarfire@lemmy.world 10 points 8 hours ago (2 children)

This just tells me you don't document well enough.

[–] Neptr@lemmy.blahaj.zone 1 points 1 hour ago

Legit. Even if documentation can be time-consuming, it is such a lifesaver and makes the whole process of coding much smoother. It means not as much time wasted backtracking. If you think there is any part of your code you won't understand when you coming back to it, document, document, document.

Sometimes I write some multiline psuedocode comments or/and an explaination of specific choices, especially those invisible choices you make while debugging that aren't apparent when your just reading through your code.

Good thing to do is make code that is generally readable too lol.

[–] muntedcrocodile@lemm.ee 13 points 7 hours ago (1 children)

The code is the documentation.

[–] Threeme2189@sh.itjust.works 9 points 6 hours ago

Anybody that thinks this is always the case deserves a slow, painful and poorly documented death.

[–] phorq@lemmy.ml 12 points 13 hours ago

Where's the Sunday night stress when you realize you'll have to deal with it all again tomorrow?