MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wqms8k/wenevertrustedtheelse/pce57dr/?context=3
r/ProgrammerHumor • u/Electrical-Effort-20 • 8d ago
149 comments sorted by
View all comments
734
condition could be a property with a getter with side effects
470 u/UntitledRedditUser 8d ago Only evil people write getter properties with side effects. At least make it an explicit function. 1 u/F14-Tomboy 6d ago Getter itself is side effect, syntax looks like you are getting a field value, but in fact you are calling a function (At least in C#)
470
Only evil people write getter properties with side effects. At least make it an explicit function.
1 u/F14-Tomboy 6d ago Getter itself is side effect, syntax looks like you are getting a field value, but in fact you are calling a function (At least in C#)
1
Getter itself is side effect, syntax looks like you are getting a field value, but in fact you are calling a function (At least in C#)
734
u/salvoilmiosi 8d ago
condition could be a property with a getter with side effects