this post was submitted on 24 Feb 2025
543 points (99.5% liked)

Programmer Humor

20763 readers
2667 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
543
submitted 11 hours ago* (last edited 11 hours ago) by cm0002 to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 10 hours ago (2 children)

The trick is leaving good notes to yourself outlining the thought process, what was tried, what should be tried next.

Then you read your notes in the morning with a fresh mind and <click!>

If you just slam the laptop shut in frustration, you lose all progress.

[–] fulg 2 points 8 hours ago

For me what generally happens if I stop at 9PM, I will work through the problem in my sleep (and it will prevent me from getting a good night sleep), but I will often find a breakthrough the next morning during shower time.

I’m talking about those hard, multi-days debugging problems that nobody can figure out, but as someone else raised, that’s why I get paid good money for it.

It still sucks though. That first response in the thread rings so true, ok now I get it, no you don’t…

[–] CosmicCleric 0 points 9 hours ago* (last edited 9 hours ago) (1 children)

Generally speaking (NOT 100% of the time), that takes more time that you don't have, as you're outrunning fatigue. You can waste time writing down notes (which you're supposed to do anyway in-line in the code as you go streamlined like), or you can solve the problem. Plus the quality of the notes you leave, if written up at the end when you're ready to leave work, may not be good enough to help the next day. /shrug

But honestly, if that works for you, more power to ya! 🙂

~This~ ~comment~ ~is~ ~licensed~ ~under~ ~CC~ ~BY-NC-SA~ ~4.0~

[–] [email protected] 3 points 9 hours ago (1 children)

I take notes as I work in case I get pulled onto another task.

Doesn’t take more than 5 minutes to summarize at the end of the day.

[–] CosmicCleric -1 points 9 hours ago

Doesn’t take more than 5 minutes to summarize at the end of the day.

I take notes in-line as I go too. But having to stop and then write (well, type in a text editor) everything I was thinking about for the last X hours, when I'm super fatigued, can be problematic for me to do. At the point I quit, I'm not really thinking anymore, even just to summarize the day.

~This~ ~comment~ ~is~ ~licensed~ ~under~ ~CC~ ~BY-NC-SA~ ~4.0~