582
submitted 8 months ago* (last edited 8 months ago) by vvvv@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Artyom@lemm.ee 39 points 8 months ago

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.

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

Programmer Humor

32266 readers
47 users here now

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

Rules:

founded 5 years ago
MODERATORS