MKlegoman357, on 06 March 2015 - 06:12 PM, said:
Well, I think it is a good practice to first define your variables and then use them, at least their definition, not value in any language. Improves readability 
honestly I believe it depends on how you organize them. Instead of making them listed in order of reference I prefer to list functions in a logical order. Such as in my tic tac toe program I wanted plmove to be the top one being as it defines the user input side of the game and i figured that would usually be what a user would be reading. After that i wanted place and getball since I felt both of those are obviously important to the code and mostly go hand in hand so should be top and together. And towards the end of the routines I would've listed routines that were more for shortcuts and laziness such as jntswap which really for the most part could be ignored in the code after reading it once.











