Team3309 / 6CimDrive

Off-season of 2015 season, 6 Cim Drive
0 stars 0 forks source link

Declare all your variables in one spot #9

Closed vmagro closed 9 years ago

vmagro commented 9 years ago

It is generally best practice to declare all member variables at the top of the class. You have some declarations interspersed everywhere in Drive mixed in among the methods, that way it's impossible to look in one place and see all of the variables contained in the class