View Single Post
Old 10-03-2014, 02:21 PM   #17
spoon eater
seamonkey's Avatar
Join Date: Oct 2007
Location: the question is where are you?
Posts: 1,616
Default Re: Problem: Functions In C

One problem programmers run into is when they work on someone else's code, or someone works on your code, or even working on your own code years after you start it, you have NO idea what approach you used. This is why we try to use as few variables as possible, and give them descriptive names. (I have no idea what idx and idx2 stand for btw) It causes less headaches further on down the line.

now that's all said I admit I am terrible about doing this when I am coding. var1 var2 var3 have become names of things in some of my stuff. And commenting on my code...don't get me started.
French fry Kremlin the morose nucleotides!-Jamul
There is no fifth amendment in mafia games - you don't have a right to be silent!- hammered
"So tell me Harry, what exactly is the purpose of a rubber duck?" -Mr. Weasly
seamonkey is offline   Reply With Quote