{"comment":{"url":"https://api.github.com/repos/FRC930/SwerveDrive/comments/9486557","html_url":"https://github.com/FRC930/SwerveDrive/commit/b883a82cf8aa086d39b9ae8e38d73f411437eaf4#commitcomment-9486557","id":9486557,"user":{"login":"Gregadeaux","id":472886,"avatar_url":"https://avatars.githubusercontent.com/u/472886?v=3","gravatar_id":"","url":"https://api.github.com/users/Gregadeaux","html_url":"https://github.com/Gregadeaux","followers_url":"https://api.github.com/users/Gregadeaux/followers","following_url":"https://api.github.com/users/Gregadeaux/following{/other_user}","gists_url":"https://api.github.com/users/Gregadeaux/gists{/gist_id}","starred_url":"https://api.github.com/users/Gregadeaux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gregadeaux/subscriptions","organizations_url":"https://api.github.com/users/Gregadeaux/orgs","repos_url":"https://api.github.com/users/Gregadeaux/repos","events_url":"https://api.github.com/users/Gregadeaux/events{/privacy}","received_events_url":"https://api.github.com/users/Gregadeaux/received_events","type":"User","site_admin":false},"position":22,"line":22,"path":"src/SwerveDrive.java","commit_id":"b883a82cf8aa086d39b9ae8e38d73f411437eaf4","created_at":"2015-01-28T20:46:45Z","updated_at":"2015-01-28T20:46:45Z","body":"@janonich None of these need to be instance variables. Lets use local variables instead.\r\n\r\nInstance variables exist across the entire instance of a class and space is allocated in the heap when the constructor is called. They will persist indefinitely until the SwerveDrive class is no longer utilized. Local variables exist inside methods, loops, if statements and are created and destroyed inside the same space. Once the method is done executing, for example, the variable will be destroyed."}}