3 ms·
One that was written from scratch, by me. All others are terrible.
by paxys 2y ago
One that was written from scratch, by me. All others are terrible.
- ChrisMarshallNY 2y agoHeh. Can relate. Even my own codebases/config. management systems are difficult, if I haven't dealt with them in a while. However, I am pretty good at understanding old stuff I did, mainly because I leave a legacy for myself. https://littlegreenviper.com/leaving-a-legacy/ https://littlegreenviper.com/leaving-a-legacy/
- wvenable 2y ago...unless I haven't looked at it in a few years.
- tiffanyh 2y agoThe 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
- intelVISA 2y agoWe were all thinking it, thank you for having The Courage.
- deleted 2y ago[deleted]
- stephenhandley 2y agoThis entire website in a single comment
- ohyes 2y agoMine is always terrible and the others are terrible as well.
- mikeqq2024 2y agoOne day I got an unexpected email from someone asking permission to use a piece of code on github I forgot I wrote almost 10 years ago without a license clause. I was very surprised and confused because I forgot I wrote that code, and I was not involving coding for quite some years and my github profile was blank without any contact information. I asked. It happened the guy simply made a search and found a post on a forum with my nickname, and email address - newly created recently. At that moment, it clicked and I felt some unusual arrangment. I quickly added an open source license, and the guy, CTO of a decent company, offered to make a donate. That made me a day.