When It's not at all noticeable how to augment a direct member access like foo.num = num, You can certainly increase your common setter with an extra force parameter: Underneath is another illustration on how @property might help when a person must refactor code which is taken from listed here https://aiplgurugram.co.in/aipl-lake-city-sector-103-gurgaon-a-haven-for-modern-families/