When It's not at all clear how to reinforce a immediate member entry like foo.num = num, You can easily increase your traditional setter with a further power parameter: Below is an additional case in point on how @property will help when one should refactor code that is taken from https://conscientparqgurugram.in/