4

I guess I am not the only one who do not know why hes/her code runs. Today I was preparing a private API for our project and a part of it was not working for (IMHO) no reason. I was really upset, because I already put more then an hour work in a 10 minute task.

It was 9:30 PM, I came like 12 hours ago, so I knew I can do only one thing to erase my mind for a second: Clean my keyboard. I tried to be really precise and everything, because my finger can be really greasy now or then.

After a good 10 minutes I looked at my screen and I realised, that I managed to forget to remove the keyboard's cable, so my screen looked like someone tried to escape from Vim.

But! During the cleaning I also runned the code again somehow and it fucking worked. I am sitting here, cannot believe what I see. I see no changes whatsoever, so this might be like a friday gift from the universe.

Now, I can finally work on my own project...

Comments
  • 1
    Yesterday I've been debugging one of my projects only to realize that I've been editing one file but compiled another. Spent an hour debugging fully functional code
  • 2
    Cannot find a bug? Clean your keyboards.

    This could become a trend 🤣
  • 1
    @CurseMeSlowly I might put it in the 'What should I do when my code should run but it doesn't' checklist
  • 0
    @trickory I do that far more often than is acceptable.
Add Comment