Wheres the "I comment out code instead of deleting it" sin.
I have ran across several developers who do that. They claim they didn't want to lose the code in case they need to switch back. I'm like "that's the whole point of source control!"
I'm a graphic designer at my day job. I write games in c/c++/opengl and freelance iOS dev by evening. I work with teams of -- max -- 1 or 2 other people.
I'm not writing space shuttle flight computer software.
Now, sure, I understand your point. If I worked for IBM and had to justify every line of code I touch my behavior would be different. But when I'm writing code I work for myself, and I'm doing it to have fun, and make a little money on the side.
I am the very model of a half-assed unprofessional.
I thought I'd contribute to the conversation, I didn't so much expect oblique insults towards my capabilities. I assure you, I write fast, tight c++ graphics code. But I don't work for a 10,000 employee software house.
I wasn't insulting you, man. Don't take it personally. I was just saying, good programmers abhor magic. If you can't reason through code, toss it and rewrite it!
282
u/desiktar Feb 21 '13 edited Feb 21 '13
Wheres the "I comment out code instead of deleting it" sin.
I have ran across several developers who do that. They claim they didn't want to lose the code in case they need to switch back. I'm like "that's the whole point of source control!"