While It's not at all evident how to enhance a immediate member entry like foo.num = num, You can certainly augment your standard setter with yet another pressure parameter: Down below is another illustration on how @property might help when a person must refactor code that is taken from below https://smartworlddeveloper.co.in/smart-world-69-sector-69-gurgaon-a-new-benchmark-in-urban-luxury-living/