Just curious about https://github.com/exercism/python/blob/master/exercises/hangman/hangman_test.py - remaining_guesses is accessed directly (implying it is either a property or an instance variable) whereas there is a get_status() and get_masked_word(), getter instance methods.
Since I am not very familiar with Python conventions I don't have a good sense of when someone should use property vs getter instance method. Any explanation available for this exercise as to why the respective choices were taken? Thank you.
Just curious about https://github.com/exercism/python/blob/master/exercises/hangman/hangman_test.py -
remaining_guessesis accessed directly (implying it is either apropertyor an instance variable) whereas there is aget_status()andget_masked_word(), getter instance methods.Since I am not very familiar with Python conventions I don't have a good sense of when someone should use property vs getter instance method. Any explanation available for this exercise as to why the respective choices were taken? Thank you.