this post was submitted on 18 Feb 2024
581 points (97.2% liked)
Programmer Humor
32461 readers
641 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
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.
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.