When It is far from evident how to enhance a direct member access like foo.num = num, You can certainly increase your traditional setter with an additional drive parameter: Beneath is another example on how @property can help when just one needs to refactor code and that is taken from https://aiplgurugram.co.in/