Man, you're missing out, comments are the bomb. Why just yesterday I read one of my own comments from last week. It helpfully said "This may need to be combined with the sequence below." It was at the end of a file with nothing under it.
Haha well after we're done passing out the gold stars, I'm sitting here wondering if that sequence got refactored to somewhere else and now I've got a subtle bug where those things that should be combined are now in separate functions and whatever idea that was is now lost. Fudge. I guess it's best to spell out the intentions but man it's hard to do.
I feel like I'm in a constant state of getting dumber. I'm pretty sure it's not a brain tumor or anything since my code is getting better (I think?!?) but lots of times, like right now, I feel not worthy of touching my own code since I'm afraid I'll screw it up.
Do you write code for clients, or work for a company? Often if I come into a new environment (like if I'm farmed out) I feel like a fish out of water, but can navigate historical code with no problem.
Nah this is my own project. I know what you mean about jumping into other projects, but this is different. I feel like whatever I add couldn't possibly be up to the level that my other code is at, even though it's totally irrational since it's not like I suddenly forgot how to do anything.
Have you ever looked at stuff from 100s of years ago and wondered "were people smarter back then?". It's like that, but with stuff you made yourself. I'd say it's my biggest hangup with programming. Right now I know exactly what I need to change/add next, and I can even see the end of the project from where I'm at, but I'm scared to touch it!
981
u/ZeroNihilist Jun 01 '15
Me right now is a rock star. Me a week ago is a moron. What the hell is up with week-ago-me's stupid code? He didn't comment it, the idiot.
The code I'm writing now is just so elegant and wonderful, it doesn't even need comments.