• Artyom@lemm.ee
    link
    fedilink
    arrow-up
    37
    ·
    9 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
      link
      fedilink
      arrow-up
      11
      ·
      9 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.