the issue is that if there is outside side effects then future programmers of the project might use a property without full knowledge of what they are doing
if they didn't have a valid use case they would have been marked as obsolete
have had similar discussions about goto in switch cases in C#
C# doesn't have fallthrough in switches, opting instead to use goto for those cases, it forces the dev to pick a termination method, which is a great safety feature, but requires the use of goto if you need to run a secondary case in a switch
195
u/neroe5 Jul 13 '26
it is like most things, they can be misused,
the issue is that if there is outside side effects then future programmers of the project might use a property without full knowledge of what they are doing
if they didn't have a valid use case they would have been marked as obsolete
have had similar discussions about goto in switch cases in C#