3 ms·
The problem I have is, I'll revisit code I wrote 1-2 months prior and swear someone else wrote it.
by tiffanyh 2y ago
The problem I have is, I'll revisit code I wrote 1-2 months prior and swear someone else wrote it.
- pavel_lishin 2y agoSame. I know I wrote perfect, maintainable code that can easily live in my brain. But when I go to work on it again a few months since I wrote it, it seems like some asshole stepped in and overwrote my beautiful code with a bunch of jumbly mish-mash and had the gall to overwrite the git commit history with it, using the exact same commit messages, and my own name!
- lagrange77 2y agoRight. I even quietly mumble 'asshole' while reading it.
- takeda 2y agoThis is the weird thing. I heard it a lot and I don't know if people just over-exaggerate or maybe I'm just forgetting things quicker, but I don't have that. I come to the code after month or two and it is the same as if I came a week or two. I also don't feel ashamed of it. I also got compliments of my code in the past. I do try to make my code readable and avoid being clever. Basically my rule of thumb is that if I need to write a comment about block of code what it does, then that code is too complex.
- tazjin 2y agoSame. I think it's a meme that people keep repeating, and for some fraction of them it's true.
- doctor_eval 2y agoA month or two is nothing. Go back to it after 5 years.
- takeda 2y agoI used month or two, because that's what OP used and that seemed ridiculous. Almost like OP tried to make a meme that s/he didn't experience themselves. But anyway, I recently found code that I wrote 15 years ago. And when looking at it actually makes me feel depressed. It looks like something I would write today so I don't think I got much better. But yes, I do have to look over it again to understand how it works as I forgot everything.
- grotorea 2y agoPast me is someone else. https://en.wikipedia.org/wiki/Ship_of_Theseus https://en.wikipedia.org/wiki/Ship_of_Theseus