Why Local Variable (BullCowCount) in SubmitGuess Rather When Private Class Variable?

Wouldn’t it be ‘cleaner’ and more consistent with the rest of the code to add a private class variable for ‘BullCowCount’ rather than using a local variable in the ‘SubmitGuess’ function?

Bryan

Privacy & Terms