When you program and you need to create variables, let's say you're working on a program that needs a variable to hold some kind of money for the player, do you get to choose the variable names (within reason) or do you get a list of specific names you have to give variables? Like, could it be
player.coins
player.cash
player.money
etc?
I know this is along the lines of a C++/Java program, and it's probably not coded exactly right, but it's just an example, so please bear with me. ^_^ Thanks.
2007-07-11
05:51:26
·
4 answers
·
asked by
Invader Z
1