this post was submitted on 18 Feb 2024
581 points (97.2% liked)

Programmer Humor

32448 readers
992 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 16 comments
sorted by: hot top controversial new old
[–] shootwhatsmyname@lemm.ee 62 points 8 months ago (2 children)

this sounds personal, are you ok op?

[–] vvvv@lemmy.ml 70 points 8 months ago (1 children)

I am perfectly fine. It's just another day of being a completely normal programmer. Thanks.

[–] shootwhatsmyname@lemm.ee 12 points 8 months ago

blink twice if you’re in danger

!suspiciouslyspecific@lemmy.world

[–] Artyom@lemm.ee 39 points 8 months ago (1 children)

A few weeks ago, on Monday morning, I was looking through a PR I was working on and decided to make a ticket to write a new function that would be super useful for my current work. I then leave for meetings for the day, then come back in the afternoon and find some time to write some code, and lo and behold, I see exactly the function I wanted was already written. I wrote it at 4:00 on Friday, docstring and everything, 72 hours before I wrote a ticket to create the function. Until rereading it, I had no memory of writing it.

[–] palordrolap@kbin.social 12 points 8 months ago

Personal project a while ago. Had an idea in my head that I needed to rewrite using a particular language feature but had been putting it off because I couldn't quite wrap my head around the implementation details.

Eventually decide to sit down and plug away at it. Find the code already uses the language feature.

I had either written it with that language feature in the first place or had been back at some time I don't remember and done the work I didn't think I was capable of doing.

I could still be convinced that it was done by pixies or the whatever might be the programming equivalent of shoemaker elves.

[–] unreachable@lemmy.world 31 points 8 months ago

when you didn't realise that you've changed the world all this time

[–] baseless_discourse@mander.xyz 10 points 8 months ago

The feeling when using ubuntu's apt repo.

[–] Auzy@beehaw.org 3 points 8 months ago

On Friday, wrote some new helper code for the templates we use for development because I did a search of the code and couldn't any such code there. Wasted 20mins writing it

An hour later, found I wrote the functions but had simply put them in a different spot :/

[–] corsicanguppy@lemmy.ca 1 points 8 months ago (1 children)

A known defunct WHAT?

Stroke meds run out?

[–] clb92@feddit.dk 12 points 8 months ago (1 children)
[–] vvvv@lemmy.ml 9 points 8 months ago

Yes, that's a more proper word. I think I meant that one. Maybe just I should just use bug. Thank you. English is not my first language.

[–] berber@lemmy.chaos.berlin 0 points 8 months ago

upvote for org-mode

[–] cupcakezealot@lemmy.blahaj.zone -2 points 8 months ago

"the static website is not showing webp pictures"

i fail to see the problem