Whilst It isn't obvious how to reinforce a immediate member access like foo.num = num, You can certainly augment your traditional setter with an extra power parameter: Underneath is an additional instance on how @property can help when one particular has got to refactor code which can be taken from https://conscientparqgurugram.in/