Skip to content

Instantly share code, notes, and snippets.

@maltebucksch
Created August 20, 2018 09:44
Show Gist options
  • Save maltebucksch/474fecc08f9ec2069dcb928aa115eb54 to your computer and use it in GitHub Desktop.
Save maltebucksch/474fecc08f9ec2069dcb928aa115eb54 to your computer and use it in GitHub Desktop.
Counting Non-Functional
private int count = 0;
// returns something different every time you call the function (not functional!)
private int getCount(){
count++;
return count;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment